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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-21 20:24:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-21 20:24:53 +0300
commit51f6b25afd8a99a62418b1c68d6177bc273b2136 (patch)
treeac1f7fb6df72c790119343f2cac6145ba34f363d /source
parent84dbf949d7263d22b8b87f1532a00db80ac12fab (diff)
Revert "Fix T55568: second click event ignored"
This reverts commit 52aa963f0ef1b6f4abba6653e9a441dee234127a. Fixed for keyboards, broke mouse buttons.
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 76e9b116321..c9a09f46a37 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -2329,13 +2329,6 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
else if (event->val == KM_DBL_CLICK) {
event->val = KM_PRESS;
action |= wm_handlers_do_intern(C, event, handlers);
- event->val = KM_RELEASE;
- action |= wm_handlers_do_intern(C, event, handlers);
-
- if (wm_action_not_handled(action)) {
- event->val = KM_CLICK;
- action |= wm_handlers_do_intern(C, event, handlers);
- }
/* revert value if not handled */
if (wm_action_not_handled(action)) {