mirror of
https://github.com/brl/mutter.git
synced 2025-07-05 18:39:52 +00:00
Move alarm and xids management to MetaX11Display
https://bugzilla.gnome.org/show_bug.cgi?id=759538
This commit is contained in:

committed by
Jonas Ådahl

parent
937a9853cd
commit
722c975aca
@ -162,7 +162,7 @@ async_waiter_set_and_wait (AsyncWaiter *waiter)
|
||||
|
||||
gboolean
|
||||
async_waiter_alarm_filter (AsyncWaiter *waiter,
|
||||
MetaDisplay *display,
|
||||
MetaX11Display *x11_display,
|
||||
XSyncAlarmNotifyEvent *event)
|
||||
{
|
||||
if (event->alarm != waiter->alarm)
|
||||
@ -335,11 +335,11 @@ test_client_find_window (TestClient *client,
|
||||
|
||||
gboolean
|
||||
test_client_alarm_filter (TestClient *client,
|
||||
MetaDisplay *display,
|
||||
MetaX11Display *x11_display,
|
||||
XSyncAlarmNotifyEvent *event)
|
||||
{
|
||||
if (client->waiter)
|
||||
return async_waiter_alarm_filter (client->waiter, display, event);
|
||||
return async_waiter_alarm_filter (client->waiter, x11_display, event);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user