diff options
author | emersion <contact@emersion.fr> | 2018-10-27 11:59:27 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-27 11:59:27 +0200 |
commit | f745befc06b07c3835d20f6143668f23da25d318 (patch) | |
tree | a585e60fce6f3cc3a94a922ef7931e63c921dc90 | |
parent | c55d1542fe30ea7872a60a732fa88028cd4d4b06 (diff) |
xwayland: fix typo to enable transparency
We spent literally hours trying to debug this. Turns out it's a typo.
Kill me.
-rw-r--r-- | include/xwayland/xwm.h | 2 | ||||
-rw-r--r-- | xwayland/xwm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index 3536bbc8..dc40cc3e 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -30,7 +30,7 @@ enum atom_name { UTF8_STRING, WM_S0, NET_SUPPORTED, - NET_WM_S0, + NET_WM_CM_S0, NET_WM_PID, NET_WM_NAME, NET_WM_STATE, 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); } |