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
|
||||
|
||||
display->current_time = event_get_time (display, event);
|
||||
display->monitor_cache_invalidated = TRUE;
|
||||
|
||||
if (display->focused_by_us &&
|
||||
@ -1824,7 +1825,6 @@ meta_display_handle_xevent (MetaDisplay *display,
|
||||
bypass_gtk = TRUE;
|
||||
}
|
||||
|
||||
display->current_time = event_get_time (display, event);
|
||||
return bypass_gtk;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user