[PATCH weston 2/2] xwayland: xwm: Fix WM initialization
Tiago Vignatti
tiago.vignatti at intel.com
Mon Nov 19 12:11:52 PST 2012
It's vital to set SubstructureNotifyMask bit on WM root window and make sure
the X server gets it before any other client is created.
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
src/xwayland/window-manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index 4d44527..d4e51b5 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -1482,6 +1482,7 @@ weston_wm_create(struct weston_xserver *wxs)
XCB_EVENT_MASK_PROPERTY_CHANGE;
xcb_change_window_attributes(wm->conn, wm->screen->root,
XCB_CW_EVENT_MASK, values);
+ xcb_flush(wm->conn);
wm->theme = theme_create();
weston_wm_create_wm_window(wm);
--
1.7.9.5
More information about the wayland-devel
mailing list