xwm: Initialize window decoration always as !override
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
b67ea54a3f
commit
2ea74d9f71
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user