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 4ba26659fd
commit d2a88f7089

View File

@ -953,7 +953,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;
}