From a05ae8654cef3b07730aa649baa4b9179dc754a4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 19 Jun 2014 22:23:00 +0200 Subject: [PATCH] events: Update current time on CLUTTER_TOUCH_BEGIN events Just as with key/button press events, update the current interaction time when a touch begins on a window. --- src/core/events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/events.c b/src/core/events.c index c5930a462..fb789e293 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -120,7 +120,9 @@ meta_display_handle_event (MetaDisplay *display, display->current_time = event->any.time; if (window && !window->override_redirect && - (event->type == CLUTTER_KEY_PRESS || event->type == CLUTTER_BUTTON_PRESS)) + (event->type == CLUTTER_KEY_PRESS || + event->type == CLUTTER_BUTTON_PRESS || + event->type == CLUTTER_TOUCH_BEGIN)) { if (CurrentTime == display->current_time) {