mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
resize windows when the monitor state changes
this may need more work later but for now this makes using mez in another compositor smoother
This commit is contained in:
parent
3c65fd8339
commit
0bb8c83300
2 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ local master = function()
|
|||
end
|
||||
})
|
||||
|
||||
mez.hook.add("OutputStateChange", { callback = tile_all })
|
||||
|
||||
mez.hook.add("ViewMapPre", {
|
||||
callback = function(v)
|
||||
if ctx.tags[ctx.tag_id].master == nil then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue