summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xwayland/window-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index da4d800..389cc78 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -253,7 +253,6 @@ weston_wm_window_read_properties(struct weston_wm_window *window)
props[i].atom,
XCB_ATOM_ANY, 0, 2048);
- window->decorate = 1;
for (i = 0; i < ARRAY_LENGTH(props); i++) {
reply = xcb_get_property_reply(wm->conn, cookie[i], NULL);
if (!reply)
@@ -711,6 +710,7 @@ weston_wm_window_create(struct weston_wm *wm,
window->id = id;
window->properties_dirty = 1;
window->override_redirect = override;
+ window->decorate = !window->override_redirect;
window->width = width;
window->height = height;