aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xwayland/xwm.h2
-rw-r--r--xwayland/xwm.c4
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);
}