Fix fullscreen and maximized toggling floating instead

This is why you never copy paste code
This commit is contained in:
Ottatop 2023-08-14 20:23:23 -05:00
parent ff68800422
commit 85fd31a317

View file

@ -377,7 +377,7 @@ end
---@param win Window
function window_module.toggle_fullscreen(win)
SendMsg({
ToggleFloating = {
ToggleFullscreen = {
window_id = win:id(),
},
})
@ -392,7 +392,7 @@ end
---@param win Window
function window_module.toggle_maximized(win)
SendMsg({
ToggleFloating = {
ToggleMaximized = {
window_id = win:id(),
},
})