2.5
[blender-staging.git] / source / blender / editors / screen / screen_edit.c
index e74e1e113fd02f872b910a9b0918c2ef20e550a8..1c0b8932d94b53df9d3ced7ca7d4508e795b9613 100644 (file)
@@ -1026,10 +1026,6 @@ void ED_screen_set_subwinactive(wmWindow *win)
                ScrArea *sa;
                int oldswin= win->screen->subwinactive;
                
                ScrArea *sa;
                int oldswin= win->screen->subwinactive;
                
-               /* XXX prevent this call for modal menus now */
-               if(win->screen->regionbase.first)
-                       return;
-               
                for(sa= win->screen->areabase.first; sa; sa= sa->next) {
                        if(event->x > sa->totrct.xmin && event->x < sa->totrct.xmax)
                                if(event->y > sa->totrct.ymin && event->y < sa->totrct.ymax)
                for(sa= win->screen->areabase.first; sa; sa= sa->next) {
                        if(event->x > sa->totrct.xmin && event->x < sa->totrct.xmax)
                                if(event->y > sa->totrct.ymin && event->y < sa->totrct.ymax)