From 4334135c521760285a7c2243f6b4b009fe692f38 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 9 May 2014 11:16:34 -0400 Subject: [PATCH] events: Make sure to reset current_time after handling events Otherwise, we'll have a stale value leftover in current_time that won't be reset until the next event. --- src/core/events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/events.c b/src/core/events.c index bc89e8caf..6456d9c2f 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -1825,6 +1825,7 @@ meta_display_handle_xevent (MetaDisplay *display, bypass_gtk = TRUE; } + display->current_time = CurrentTime; return bypass_gtk; } @@ -1972,6 +1973,7 @@ meta_display_handle_event (MetaDisplay *display, bypass_clutter = TRUE; } + display->current_time = CurrentTime; return bypass_clutter; }