Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-22 03:53:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-22 03:59:37 +0300
commit88660d67a4c5e88e7b7b7304b66e4d893affed91 (patch)
tree016caca194bd751f7786b636d3119e838579e313 /source/blender/windowmanager
parentcc3fdffbbe450ef75a49571ec75fd8f0ecb45550 (diff)
WM: ensure is_repeat isn't set for mouse-move events
Follow up to d782bad62dc53373bb28811c0672da81924371d6 Also clear this for simulated events.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c1
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 e6ec68f706c..faec579a7c3 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -3402,6 +3402,7 @@ void wm_event_do_handlers(bContext *C)
tevent.type = MOUSEMOVE;
tevent.prevx = tevent.x;
tevent.prevy = tevent.y;
+ tevent.is_repeat = false;
wm_event_add(win, &tevent);
win->addmousemove = 0;
}