mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Revert "display: trap X errors in get_current_time_roundtrip"
This reverts commit cc772ddd61
.
This commit is contained in:
parent
35fcf4a4ae
commit
5d7deab6da
@ -1326,25 +1326,15 @@ meta_display_get_current_time_roundtrip (MetaDisplay *display)
|
||||
{
|
||||
XEvent property_event;
|
||||
|
||||
meta_error_trap_push (display);
|
||||
|
||||
XChangeProperty (display->xdisplay, display->timestamp_pinging_window,
|
||||
display->atom__MUTTER_TIMESTAMP_PING,
|
||||
XA_STRING, 8, PropModeAppend, NULL, 0);
|
||||
|
||||
if (meta_error_trap_pop_with_return (display) == Success)
|
||||
{
|
||||
meta_error_trap_push (display);
|
||||
|
||||
XIfEvent (display->xdisplay,
|
||||
&property_event,
|
||||
find_timestamp_predicate,
|
||||
(XPointer) display);
|
||||
|
||||
if (meta_error_trap_pop_with_return (display) == Success)
|
||||
timestamp = property_event.xproperty.time;
|
||||
}
|
||||
}
|
||||
|
||||
meta_display_sanity_check_timestamps (display, timestamp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user