xwm: Initialize window decoration always as !override

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
Tiago Vignatti 2012-07-20 23:09:53 +03:00 committed by Kristian Høgsberg
parent b67ea54a3f
commit 2ea74d9f71

View File

@ -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)