Bugfix: Correctly clear the urgency hint if a window gets unmapped without clearing the hint

This commit is contained in:
Michael Stapelberg 2009-11-18 20:20:54 +01:00
parent 6a5bdf6f8e
commit 82c32616e1
1 changed files with 4 additions and 0 deletions

View 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);