diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 359ea209021..3c37168f831 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1125,14 +1125,6 @@ static bool ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_pt case GHOST_kEventWindowDeactivate: wm_event_add_ghostevent(wm, win, type, data); win->active = 0; /* XXX */ - - /* When window activation is enabled, these modifiers are set with window activation. - * Otherwise leave them set so re-activation doesn't loose keys which are held. */ -#ifdef USE_WIN_ACTIVATE - win->eventstate->modifier = 0; - win->eventstate->keymodifier = 0; -#endif - break; case GHOST_kEventWindowActivate: { const int keymodifier = ((query_qual(SHIFT) ? KM_SHIFT : 0) | |