1
0
Fork 0

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.
This commit is contained in:
Jasper St. Pierre 2014-05-09 11:16:34 -04:00
parent 03c4de5590
commit 4334135c52

View file

@ -1825,6 +1825,7 @@ meta_display_handle_xevent (MetaDisplay *display,
bypass_gtk = TRUE; bypass_gtk = TRUE;
} }
display->current_time = CurrentTime;
return bypass_gtk; return bypass_gtk;
} }
@ -1972,6 +1973,7 @@ meta_display_handle_event (MetaDisplay *display,
bypass_clutter = TRUE; bypass_clutter = TRUE;
} }
display->current_time = CurrentTime;
return bypass_clutter; return bypass_clutter;
} }