client: use xcb API for urgency

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-28 17:57:10 +02:00
parent 2555a72e63
commit 6329a9801a
1 changed files with 1 additions and 1 deletions

View File

@ -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);