]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t ignore urgency flag when the client wants to clean it (Thanks Syntropy)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 23 Nov 2009 07:35:40 +0000 (08:35 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 23 Nov 2009 07:35:40 +0000 (08:35 +0100)
src/handlers.c

index 6765be8abb3100dd71145e056743b607d7332ebf..b9a6169c6825cf373532224f39f7b6528fd83974 100644 (file)
@@ -953,7 +953,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;
         }