From: Michael Stapelberg Date: Wed, 18 Nov 2009 19:20:54 +0000 (+0100) Subject: Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing... X-Git-Tag: 3.e~6^2~236 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82c32616e1c704ddf0dfb20c9af1a345ee3f1b2e;p=i3%2Fi3 Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing the hint --- diff --git a/src/handlers.c b/src/handlers.c index 34c4aaba..af541e6c 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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);