]> 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:36:13 +0000 (08:36 +0100)
src/handlers.c

index d86200445e1e780e3aeea2e37c14c62c3b977f71..cc6066b5257ea1a92d44d2c475c7dadaa93e6f12 100644 (file)
@@ -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;
         }