summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2014-08-15 16:52:44 +0200
committerAdel Gadllah <adel.gadllah@gmail.com>2014-08-15 17:53:27 +0200
commit38253a9f73a26611acfbe5d4236479d75d6051e4 (patch)
tree7c6ba3d8b3deab9c730792e5daa75b485591c988
parentcbc92b847f556a33510fc18e8ca24c969b1ba1b0 (diff)
downloadmutter-38253a9f73a26611acfbe5d4236479d75d6051e4.tar.gz
window-x11: The x11 backend window is our window as well
Since commit 467465c99c41 we use meta_stage even on x11 which sets clutter_stage_set_user_resizable to FALSE. This messes things up because we ought to ignore the properties on the window but we apperently didn't. There is no reason why we'd want to manage the stage window. https://bugzilla.gnome.org/show_bug.cgi?id=734852
-rw-r--r--src/x11/window-x11.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index af99b033b..ebb6ec274 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -48,6 +48,8 @@
#include "session.h"
#include "workspace-private.h"
+#include "backends/x11/meta-backend-x11.h"
+
struct _MetaWindowX11Class
{
MetaWindowClass parent_class;
@@ -2800,6 +2802,12 @@ is_our_xwindow (MetaDisplay *display,
if (xwindow == screen->composite_overlay_window)
return TRUE;
+ {
+ MetaBackendX11 *backend = META_BACKEND_X11 (meta_get_backend ());
+ if (xwindow == meta_backend_x11_get_xwindow (backend))
+ return TRUE;
+ }
+
/* Any windows created via meta_create_offscreen_window */
if (attrs->override_redirect && attrs->x == -100 && attrs->y == -100 && attrs->width == 1 && attrs->height == 1)
return TRUE;