awful.client: removed focusing tag when the urgent window is sticky
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
66483beeee
commit
07b8751ad9
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue