xwm: Initialize window decoration always as !override

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
dev
Tiago Vignatti 13 years ago committed by Kristian Høgsberg
parent b67ea54a3f
commit 2ea74d9f71
  1. 2
      src/xwayland/window-manager.c

@ -324,7 +324,7 @@ weston_wm_window_read_properties(struct weston_wm_window *window)
props[i].atom, props[i].atom,
XCB_ATOM_ANY, 0, 2048); XCB_ATOM_ANY, 0, 2048);
window->decorate = 1; window->decorate = !window->override_redirect;
for (i = 0; i < ARRAY_LENGTH(props); i++) { for (i = 0; i < ARRAY_LENGTH(props); i++) {
reply = xcb_get_property_reply(wm->conn, cookie[i], NULL); reply = xcb_get_property_reply(wm->conn, cookie[i], NULL);
if (!reply) if (!reply)

Loading…
Cancel
Save