]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing...
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 18 Nov 2009 19:20:54 +0000 (20:20 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 18 Nov 2009 19:21:24 +0000 (20:21 +0100)
src/handlers.c

index 5b9ab8bc9f28eddf759a51664645f593b33f7d59..d42c1b72437dbd90a91ce5de70aacfa302e3c444 100644 (file)
@@ -511,6 +511,10 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
         if (workspace_empty)
                 client->workspace->screen = NULL;
 
+        /* Remove the urgency flag if set */
+        client->urgent = false;
+        workspace_update_urgent_flag(client->workspace);
+
         FREE(client->window_class);
         FREE(client->name);
         free(client);