ewmh: Use the libxcb define
WINDOW is a deprecated define which will be removed. We should be using
XCB_ATOM_WINDOW instead.
This is a follow-up to 5d0a81c8bf
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9b89798d2b
commit
b0f125a664
2
ewmh.c
2
ewmh.c
|
@ -118,7 +118,7 @@ ewmh_update_net_client_list(lua_State *L)
|
||||||
|
|
||||||
xcb_change_property(globalconf.connection, XCB_PROP_MODE_REPLACE,
|
xcb_change_property(globalconf.connection, XCB_PROP_MODE_REPLACE,
|
||||||
globalconf.screen->root,
|
globalconf.screen->root,
|
||||||
_NET_CLIENT_LIST, WINDOW, 32, n, wins);
|
_NET_CLIENT_LIST, XCB_ATOM_WINDOW, 32, n, wins);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue