Some clients set the urgency flag even if they are the active client;

prevent annoying behavior by only setting the cwm urgency flag if the client
is not active; diff from Thomas Adam.
This commit is contained in:
okan 2014-02-06 20:58:46 +00:00
parent f793964c9e
commit 98d8483d35

View File

@ -491,7 +491,8 @@ client_unhide(struct client_ctx *cc)
void
client_urgency(struct client_ctx *cc)
{
cc->flags |= CLIENT_URGENCY;
if (!cc->active)
cc->flags |= CLIENT_URGENCY;
}
void