mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
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:
parent
03c4de5590
commit
4334135c52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user