window-x11: Fix offscreen window match expression

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=723564
This commit is contained in:
Jonas Ådahl 2014-02-03 23:01:34 +01:00 committed by Jasper St. Pierre
parent 3e73babaf7
commit 2db9f55669

View File

@ -1295,7 +1295,7 @@ is_our_xwindow (MetaDisplay *display,
return TRUE; return TRUE;
/* Any windows created via meta_create_offscreen_window */ /* Any windows created via meta_create_offscreen_window */
if (attrs->override_redirect && attrs->x == -100 && attrs->height == -100 && attrs->width == 1 && attrs->height == 1) if (attrs->override_redirect && attrs->x == -100 && attrs->y == -100 && attrs->width == 1 && attrs->height == 1)
return TRUE; return TRUE;
return FALSE; return FALSE;