Signed-off-by: Tiago Vignatti <[email protected]>
---
 src/xwayland/window-manager.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index e2e2ba3..e81a229 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -324,7 +324,7 @@ weston_wm_window_read_properties(struct weston_wm_window 
*window)
                                             props[i].atom,
                                             XCB_ATOM_ANY, 0, 2048);
 
-       window->decorate = 1;
+       window->decorate = !window->override_redirect;
        for (i = 0; i < ARRAY_LENGTH(props); i++)  {
                reply = xcb_get_property_reply(wm->conn, cookie[i], NULL);
                if (!reply)
-- 
1.7.9.5

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to