diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 11:01:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 11:02:37 +0300 |
commit | 9ebb3a386e7243c7931449cad68a5923dc982ba0 (patch) | |
tree | 21ee5a1364f500533001db1c67399281c3a6f12f /source/blender/windowmanager | |
parent | fee46615f43ffaef06c34623c881cf1f7ffab747 (diff) |
Fix T76732: Error detecting modifier key clicks
At the time of checking, the previous type isn't the last key pressed.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index f77c5cfde7d..2780183c041 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -2952,7 +2952,7 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers) else { wmWindow *win = CTX_wm_window(C); if (win) { - if (ISKEYMODIFIER(win->eventstate->prevtype)) { + if (ISKEYMODIFIER(win->eventstate->type)) { win->eventstate->check_click = 0; } } |