Disable key-modifier detection when activating windows

Causes issues on X11 for some users
This commit is contained in:
Campbell Barton 2014-06-02 22:31:32 +10:00
parent c590b2a4b3
commit fd781c1095
Notes: blender-bot 2024-02-06 01:13:22 +01:00
Referenced by issue #40059, Switching open windows ignores held modifiers on WIN32
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
/* Win23/GHOST modifier bug, see T40317 */
#ifndef WIN32
# define USE_WIN_ACTIVATE
//# define USE_WIN_ACTIVATE
#endif
wm->winactive = win; /* no context change! c->wm->windrawable is drawable, or for area queues */