awful.client: removed focusing tag when the urgent window is sticky

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Aleksei Gusev 2009-03-28 09:25:19 +01:00 committed by Julien Danjou
parent 66483beeee
commit 07b8751ad9
1 changed files with 4 additions and 2 deletions

View File

@ -69,8 +69,10 @@ function urgent.jumpto()
if s ~= c.screen then if s ~= c.screen then
capi.mouse.screen = c.screen capi.mouse.screen = c.screen
end end
-- focus the tag -- focus the tag only if the client is not sticky
if not c.sticky then
tag.viewonly(c:tags()[1]) tag.viewonly(c:tags()[1])
end
-- focus the client -- focus the client
capi.client.focus = c capi.client.focus = c
c:raise() c:raise()