mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
added view unfocusing
This commit is contained in:
parent
689b48acd7
commit
acb95648e6
2 changed files with 17 additions and 3 deletions
|
|
@ -102,6 +102,13 @@ local master = function()
|
|||
mez.input.add_keymap("alt", "" .. i, {
|
||||
press = function ()
|
||||
ctx.tag_id = i
|
||||
|
||||
if ctx.tags[i].master then
|
||||
mez.view.set_focused(ctx.tags[i].master)
|
||||
else
|
||||
mez.view.set_focused(nil)
|
||||
end
|
||||
|
||||
tile_all()
|
||||
end
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue