x11/window: Don't manage InputOnly windows

This was dropped by mistake in commit
f166240225.

https://bugzilla.gnome.org/show_bug.cgi?id=788493
This commit is contained in:
Rui Matos 2017-10-15 22:44:11 +02:00 committed by Jonas Ådahl
parent d6e3193c2a
commit 49ee46d924

View File

@ -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");