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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-30 21:11:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-30 21:18:24 +0300
commit0b50ce1db4b19e63d108c503c8a66375c3f12f7b (patch)
treedaa877753c189a457c495d273d02af8b72988147 /source/blender/windowmanager/intern/wm_event_system.c
parent4e92cc275936e4fa5e2c2a0d03e9649fb36c7bf8 (diff)
Fix file browsers thumbnail selection with tablet failing, after recent changes.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_event_system.c')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 23c149b46b5..9df05d307cc 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -3125,7 +3125,10 @@ void wm_event_do_handlers(bContext *C)
/* If press was handled, we don't want to do click. This way
* press in tool keymap can override click in editor keymap.*/
- if (event->val == KM_PRESS && !wm_action_not_handled(action)) {
+ if (ISMOUSE_BUTTON(event->type) &&
+ event->val == KM_PRESS &&
+ !wm_action_not_handled(action))
+ {
win->eventstate->check_click = false;
}