From 8a33880c00cd994e70bdbe5198e712408a3d175e Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Mon, 18 Mar 2013 14:16:41 -0400 Subject: [PATCH] Don't configure a window before it responds to _NET_WM_SYNC_REQUEST In 97a4cc8c, we accidentally lost the check that kept us from sending multiple configures to a window before it responds to _NET_WM_SYNC_REQUEST. So _NET_WM_SYNC_REQUEST stopped working properly. Add a check back with the same effect. https://bugzilla.gnome.org/show_bug.cgi?id=696091 --- src/core/window.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index d97303971..40f1b015e 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -9413,6 +9413,15 @@ update_resize (MetaWindow *window, break; } +#ifdef HAVE_XSYNC + /* If we're waiting for a request for _NET_WM_SYNC_REQUEST, we'll + * resize the window when the window responds, or when we time + * the response out. + */ + if (window->sync_request_timeout_id != 0) + return; +#endif + if (!check_moveresize_frequency (window, &remaining) && !force) { /* we are ignoring an event here, so we schedule a