From 07b8751ad98b18842efa70ebeac00e9140f2c5e0 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Sat, 28 Mar 2009 09:25:19 +0100 Subject: [PATCH] awful.client: removed focusing tag when the urgent window is sticky Signed-off-by: Julien Danjou --- lib/awful/client.lua.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index 96509c87..b3827ff6 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -69,8 +69,10 @@ function urgent.jumpto() if s ~= c.screen then capi.mouse.screen = c.screen end - -- focus the tag - tag.viewonly(c:tags()[1]) + -- focus the tag only if the client is not sticky + if not c.sticky then + tag.viewonly(c:tags()[1]) + end -- focus the client capi.client.focus = c c:raise()