Bugfix: Don’t ignore urgency flag when the client wants to clean it (Thanks Syntropy)

This commit is contained in:
Michael Stapelberg 2009-11-23 08:35:40 +01:00
parent 9aa378aa2a
commit 806a3d5e57

View File

@ -951,7 +951,7 @@ int handle_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t
}
Client *last_focused = SLIST_FIRST(&(c_ws->focus_stack));
if (client == last_focused) {
if (!client->urgent && client == last_focused) {
LOG("Ignoring urgency flag for current client\n");
return 1;
}