Switch to tag when moving to it
This commit is contained in:
parent
823a80d4d0
commit
ab76baba31
|
@ -562,6 +562,7 @@ for i = 1, 9 do
|
||||||
local tag = client.focus.screen.tags[i]
|
local tag = client.focus.screen.tags[i]
|
||||||
if tag then
|
if tag then
|
||||||
client.focus:move_to_tag(tag)
|
client.focus:move_to_tag(tag)
|
||||||
|
tag:view_only()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -41,7 +41,8 @@ function rules.create(clientkeys, clientbuttons)
|
||||||
keys = clientkeys,
|
keys = clientkeys,
|
||||||
buttons = clientbuttons,
|
buttons = clientbuttons,
|
||||||
screen = awful.screen.preferred,
|
screen = awful.screen.preferred,
|
||||||
placement = awful.placement.centered
|
placement = awful.placement.centered,
|
||||||
|
size_hints_honor = false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- Floating clients.
|
-- Floating clients.
|
||||||
|
|
Loading…
Reference in New Issue