Fix WM_CLIENT_LEADER handling

This was broken since 5d0a81c8bf. Whoops.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2013-06-19 19:23:19 +02:00
parent 5b5dd0a198
commit 14722aa6e4

View file

@ -122,7 +122,7 @@ xcb_get_property_cookie_t
property_get_wm_client_leader(client_t *c)
{
return xcb_get_property_unchecked(globalconf.connection, false, c->window,
WM_CLIENT_LEADER, XCB_ATOM_WINDOW, 1, 32);
WM_CLIENT_LEADER, XCB_ATOM_WINDOW, 0, 32);
}
/** Update leader hint of a client.