From 38253a9f73a26611acfbe5d4236479d75d6051e4 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Fri, 15 Aug 2014 16:52:44 +0200 Subject: [PATCH] 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 --- src/x11/window-x11.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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;