From a74fdc64f9647bbc12ab36a6ff4a03f7d9523869 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 18 Nov 2009 20:20:54 +0100 Subject: [PATCH] Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing the hint --- src/handlers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/handlers.c b/src/handlers.c index 5b9ab8bc..d42c1b72 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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); -- 2.39.5