diff options
author | okan <okan> | 2014-02-06 20:58:46 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-06 20:58:46 +0000 |
commit | 98d8483d358747ad006cb37a9f29fc96e10a8827 (patch) | |
tree | eb5e22ce5e8402cc64152790c5c498b4b99e79a1 | |
parent | f793964c9ec586b9c4b4843c14bc83afaf275cb4 (diff) | |
download | cwm-98d8483d358747ad006cb37a9f29fc96e10a8827.tar.gz cwm-98d8483d358747ad006cb37a9f29fc96e10a8827.tar.xz cwm-98d8483d358747ad006cb37a9f29fc96e10a8827.zip |
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.
-rw-r--r-- | client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client.c b/client.c index 1cb0021..6fa7c1b 100644 --- a/client.c +++ b/client.c @@ -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 |