From 6329a9801a2bbd7cc51b9b9b9941a2f4b5881393 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 28 Jul 2008 17:57:10 +0200 Subject: [PATCH] client: use xcb API for urgency Signed-off-by: Julien Danjou --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 83828059f..2eab34be2 100644 --- a/client.c +++ b/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);