]> git.sur5r.net Git - i3/i3/blobdiff - src/handlers.c
Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing...
[i3/i3] / src / handlers.c
index 34c4aabadeac6f7a5b7c76ddd4d37f12945103a4..af541e6c1fc2f805a564a4befe51a8e3c15cb986 100644 (file)
@@ -513,6 +513,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);