client: use xcb API for urgency
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2555a72e63
commit
6329a9801a
2
client.c
2
client.c
|
@ -720,7 +720,7 @@ client_updatewmhints(client_t *c)
|
|||
if((wmh = xcb_get_wm_hints(globalconf.connection, c->win)))
|
||||
{
|
||||
wm_hints_flags = xcb_wm_hints_get_flags(wmh);
|
||||
if((c->isurgent = (wm_hints_flags & XCB_WM_X_URGENCY_HINT)))
|
||||
if((c->isurgent = xcb_wm_hints_get_urgency(wmh)))
|
||||
{
|
||||
/* execute hook */
|
||||
luaA_client_userdata_new(globalconf.L, c);
|
||||
|
|
Loading…
Reference in New Issue