diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-15 21:43:18 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-15 21:43:18 +0300 |
commit | aad5e497013dc37acc1913fbbeec4bc0d16ccbc6 (patch) | |
tree | 8fa291f6d274f18090042e6633d8a588b6742e95 /source/blender/windowmanager | |
parent | 628f02d57482e987069c6b9969da309db84dbadd (diff) |
2.5
Small improvements;
- switch spacedata now doesn't cause full screen refresh and draw
- cursor switching is not part of SCREEN_CHANGED notifier, this
makes area dragging ugly.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 605d076a7bc..aeb3899409f 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -649,7 +649,7 @@ void wm_event_do_handlers(bContext *C) /* XXX to solve, here screen handlers? */ if(!wm_event_always_pass(event)) - ED_screen_set_subwinactive(win); /* state variables in screen */ + ED_screen_set_subwinactive(win, event); /* state variables in screen */ for(sa= win->screen->areabase.first; sa; sa= sa->next) { if(wm_event_always_pass(event) || wm_event_prev_inside_i(event, &sa->totrct)) { diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 644f1a95c8e..6f723d02f30 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -413,8 +413,6 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private) win->eventstate->x= cx; win->eventstate->y= (win->sizey-1) - cy; - ED_screen_set_subwinactive(win); /* active subwindow in screen */ - wm_window_make_drawable(C, win); break; } |