diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-15 12:16:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-15 12:17:51 +0300 |
commit | 3022e190a2374fd62e30145e9d3091951e0f21a0 (patch) | |
tree | e448d2713bf41727eb6fccb540fedd35d6cb9b51 /source/blender | |
parent | d649b4b066f48bde3b8eee30c5a401164849e430 (diff) |
Fix is_repeat being set for in between mouse-move events
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 785434c301c..ef86df4a8e8 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -4724,6 +4724,7 @@ static wmEvent *wm_event_add_mousemove(wmWindow *win, const wmEvent *event) * them for better performance. */ if (event_last && event_last->type == MOUSEMOVE) { event_last->type = INBETWEEN_MOUSEMOVE; + event_last->is_repeat = false; } wmEvent *event_new = wm_event_add(win, event); |