mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
events: Set display->current_time when we start processing the event
Otherwise, the time will be refetched during processing.
This commit is contained in:
parent
7a109a18af
commit
03c4de5590
@ -1729,6 +1729,7 @@ meta_display_handle_xevent (MetaDisplay *display,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
display->current_time = event_get_time (display, event);
|
||||||
display->monitor_cache_invalidated = TRUE;
|
display->monitor_cache_invalidated = TRUE;
|
||||||
|
|
||||||
if (display->focused_by_us &&
|
if (display->focused_by_us &&
|
||||||
@ -1824,7 +1825,6 @@ meta_display_handle_xevent (MetaDisplay *display,
|
|||||||
bypass_gtk = TRUE;
|
bypass_gtk = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
display->current_time = event_get_time (display, event);
|
|
||||||
return bypass_gtk;
|
return bypass_gtk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user