summaryrefslogtreecommitdiff
path: root/src/x11/window-x11.c
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2017-10-15 22:44:11 +0200
committerJonas Ã…dahl <jadahl@gmail.com>2017-10-17 14:50:18 +0800
commit4d763e1828545e02f434d98f42229fff1517b6e2 (patch)
treee74d08bceba83a0e59207acbeb2b1343394474b1 /src/x11/window-x11.c
parenta17b343c214196d98d76810524592af9d6107977 (diff)
downloadmutter-4d763e1828545e02f434d98f42229fff1517b6e2.tar.gz
x11/window: Don't manage InputOnly windows
This was dropped by mistake in commit f166240225b6ab110b091520103d0370d51899ac. https://bugzilla.gnome.org/show_bug.cgi?id=788493
Diffstat (limited to 'src/x11/window-x11.c')
-rw-r--r--src/x11/window-x11.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 4885f5fea..5a6f113b0 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -3039,6 +3039,12 @@ meta_window_x11_new (MetaDisplay *display,
goto error;
}
+ if (attrs.class == InputOnly)
+ {
+ meta_verbose ("Not managing InputOnly windows\n");
+ goto error;
+ }
+
if (is_our_xwindow (display, screen, xwindow, &attrs))
{
meta_verbose ("Not managing our own windows\n");