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:
Uli Schlachter 2010-09-15 21:25:54 +02:00
parent 9b89798d2b
commit b0f125a664
1 changed files with 1 additions and 1 deletions

2
ewmh.c
View File

@ -118,7 +118,7 @@ ewmh_update_net_client_list(lua_State *L)
xcb_change_property(globalconf.connection, XCB_PROP_MODE_REPLACE,
globalconf.screen->root,
_NET_CLIENT_LIST, WINDOW, 32, n, wins);
_NET_CLIENT_LIST, XCB_ATOM_WINDOW, 32, n, wins);
return 0;
}