aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-27 11:59:27 +0200
committeremersion <contact@emersion.fr>2018-10-27 11:59:27 +0200
commitf745befc06b07c3835d20f6143668f23da25d318 (patch)
treea585e60fce6f3cc3a94a922ef7931e63c921dc90 /xwayland/xwm.c
parentc55d1542fe30ea7872a60a732fa88028cd4d4b06 (diff)
xwayland: fix typo to enable transparency
We spent literally hours trying to debug this. Turns out it's a typo. Kill me.
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 56c0853f..c61c3ced 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -28,7 +28,7 @@ const char *atom_map[ATOM_LAST] = {
"UTF8_STRING",
"WM_S0",
"_NET_SUPPORTED",
- "_NET_WM_S0",
+ "_NET_WM_CM_S0",
"_NET_WM_PID",
"_NET_WM_NAME",
"_NET_WM_STATE",
@@ -1532,7 +1532,7 @@ static void xwm_create_wm_window(struct wlr_xwm *xwm) {
xcb_set_selection_owner(xwm->xcb_conn,
xwm->window,
- xwm->atoms[NET_WM_S0],
+ xwm->atoms[NET_WM_CM_S0],
XCB_CURRENT_TIME);
}