[mutter/wayland] window-x11: Fix offscreen window match expression



commit 2db9f55669de8b5677f775707c2eb23e14db61a9
Author: Jonas Ådahl <jadahl gmail com>
Date:   Mon Feb 3 23:01:34 2014 +0100

    window-x11: Fix offscreen window match expression
    
    Signed-off-by: Jonas Ådahl <jadahl gmail com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723564

 src/core/window-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window-x11.c b/src/core/window-x11.c
index eeabbbb..4866c65 100644
--- a/src/core/window-x11.c
+++ b/src/core/window-x11.c
@@ -1295,7 +1295,7 @@ is_our_xwindow (MetaDisplay       *display,
     return TRUE;
 
   /* 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 FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]