mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Always send _NET_WM_FRAME_DRAWN for newly created windows
Send a _NET_WM_FRAME_DRAWN for each newly created window, as required by the specification. This avoids a race where a window might be created frozen but already unfrozen by the time we first see fetch the counter value. Remove a duplicate call to meta_compositor_set_updates_frozen() which was called before the MetaWindowActor is created and hence did nothing. https://bugzilla.gnome.org/show_bug.cgi?id=694771
This commit is contained in:
@ -4558,10 +4558,6 @@ meta_window_create_sync_request_alarm (MetaWindow *window)
|
||||
|
||||
window->sync_request_serial =
|
||||
XSyncValueLow32 (init) + ((gint64)XSyncValueHigh32 (init) << 32);
|
||||
|
||||
/* if the value is odd, the window starts off with updates frozen */
|
||||
meta_compositor_set_updates_frozen (window->display->compositor, window,
|
||||
meta_window_updates_are_frozen (window));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user