From 806a3d5e57a298fbc7a0bb58ed55f3f65202eb80 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 23 Nov 2009 08:35:40 +0100 Subject: [PATCH] =?UTF-8?q?Bugfix:=20Don=E2=80=99t=20ignore=20urgency=20fl?= =?UTF-8?q?ag=20when=20the=20client=20wants=20to=20clean=20it=20(Thanks=20?= =?UTF-8?q?Syntropy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index d8620044..cc6066b5 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -951,7 +951,7 @@ int handle_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t } Client *last_focused = SLIST_FIRST(&(c_ws->focus_stack)); - if (client == last_focused) { + if (!client->urgent && client == last_focused) { LOG("Ignoring urgency flag for current client\n"); return 1; }