Fix #28489: Wacom Intuos 4 tablet doesn't work with outliner

Stylus can produce slight movements when it touches tablet,
so CLICK event wasn't triggering. Do not store INBETWEEN_MOUSE
as previous event to make CLICK events triggered correct.

Thanks to Brecht to pointing on short way to fix this problem.
This commit is contained in:
Sergey Sharybin
2011-09-22 15:39:31 +00:00
parent dd7f52defa
commit 49b518eff8

View File

@@ -1917,7 +1917,7 @@ void wm_event_do_handlers(bContext *C)
/* store last event for this window */
/* mousemove and timer events don't overwrite last type */
if (event->type != MOUSEMOVE && !ISTIMER(event->type)) {
if (!ELEM(event->type, MOUSEMOVE, INBETWEEN_MOUSEMOVE) && !ISTIMER(event->type)) {
if (wm_action_not_handled(action)) {
if (win->eventstate->prevtype == event->type) {
/* set click time on first click (press -> release) */