summaryrefslogtreecommitdiff
path: root/src/x11/window-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/window-x11.c')
-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;