mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
xwayland: remove duplicate _NET_WM_NAME entry
This commit is contained in:
parent
68a69ee079
commit
175af4f74f
2 changed files with 1 additions and 3 deletions
|
@ -39,7 +39,6 @@ enum atom_name {
|
||||||
WINDOW,
|
WINDOW,
|
||||||
_NET_ACTIVE_WINDOW,
|
_NET_ACTIVE_WINDOW,
|
||||||
_NET_WM_MOVERESIZE,
|
_NET_WM_MOVERESIZE,
|
||||||
_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,
|
||||||
|
|
|
@ -37,7 +37,6 @@ const char *atom_map[ATOM_LAST] = {
|
||||||
[WINDOW] = "WINDOW",
|
[WINDOW] = "WINDOW",
|
||||||
[_NET_ACTIVE_WINDOW] = "_NET_ACTIVE_WINDOW",
|
[_NET_ACTIVE_WINDOW] = "_NET_ACTIVE_WINDOW",
|
||||||
[_NET_WM_MOVERESIZE] = "_NET_WM_MOVERESIZE",
|
[_NET_WM_MOVERESIZE] = "_NET_WM_MOVERESIZE",
|
||||||
[_NET_WM_NAME] = "_NET_WM_NAME",
|
|
||||||
[_NET_SUPPORTING_WM_CHECK] = "_NET_SUPPORTING_WM_CHECK",
|
[_NET_SUPPORTING_WM_CHECK] = "_NET_SUPPORTING_WM_CHECK",
|
||||||
[_NET_WM_STATE_MODAL] = "_NET_WM_STATE_MODAL",
|
[_NET_WM_STATE_MODAL] = "_NET_WM_STATE_MODAL",
|
||||||
[_NET_WM_STATE_FULLSCREEN] = "_NET_WM_STATE_FULLSCREEN",
|
[_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_change_property(xwm->xcb_conn,
|
||||||
XCB_PROP_MODE_REPLACE,
|
XCB_PROP_MODE_REPLACE,
|
||||||
xwm->window,
|
xwm->window,
|
||||||
xwm->atoms[_NET_WM_NAME],
|
xwm->atoms[NET_WM_NAME],
|
||||||
xwm->atoms[UTF8_STRING],
|
xwm->atoms[UTF8_STRING],
|
||||||
8, // format
|
8, // format
|
||||||
strlen(name), name);
|
strlen(name), name);
|
||||||
|
|
Loading…
Reference in a new issue