From 98d8483d358747ad006cb37a9f29fc96e10a8827 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 6 Feb 2014 20:58:46 +0000 Subject: [PATCH] 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. --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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