aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-03-06 12:33:05 +0100
committerDrew DeVault <sir@cmpwn.com>2020-03-06 21:34:44 +0100
commit175af4f74fc6c0896067b18483073638e8b3f674 (patch)
tree1bab6f135eeb8b52bbd343d932ef027e27c49cdd /xwayland/xwm.c
parent68a69ee0798694c54e434f425b4d56690b65b939 (diff)
xwayland: remove duplicate _NET_WM_NAME entry
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 1cbc5921..429c0455 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -37,7 +37,6 @@ const char *atom_map[ATOM_LAST] = {
[WINDOW] = "WINDOW",
[_NET_ACTIVE_WINDOW] = "_NET_ACTIVE_WINDOW",
[_NET_WM_MOVERESIZE] = "_NET_WM_MOVERESIZE",
- [_NET_WM_NAME] = "_NET_WM_NAME",
[_NET_SUPPORTING_WM_CHECK] = "_NET_SUPPORTING_WM_CHECK",
[_NET_WM_STATE_MODAL] = "_NET_WM_STATE_MODAL",
[_NET_WM_STATE_FULLSCREEN] = "_NET_WM_STATE_FULLSCREEN",
@@ -1562,7 +1561,7 @@ static void xwm_create_wm_window(struct wlr_xwm *xwm) {
xcb_change_property(xwm->xcb_conn,
XCB_PROP_MODE_REPLACE,
xwm->window,
- xwm->atoms[_NET_WM_NAME],
+ xwm->atoms[NET_WM_NAME],
xwm->atoms[UTF8_STRING],
8, // format
strlen(name), name);