added view unfocusing

This commit is contained in:
Harrison DiAmbrosio 2025-11-29 22:07:25 -05:00
parent 689b48acd7
commit acb95648e6
2 changed files with 17 additions and 3 deletions

View file

@ -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
})