miromannino / miro-windows-manager

Intuitive and clever mechanism for moving windows using only arrows, even resizing windows by thirds or quarters! For OSX
379 stars 40 forks source link

Exit fullscreen before every action #27

Open mskar opened 1 year ago

mskar commented 1 year ago

Miro does not work when a window is fullscreen (press control command F or click green button in top left to enter fullscreen).

image

My solution is to exit fullscreen before every action that Miro takes:

function obj:_exitFullScreen(win)
  local win = win or hs.window.focusedWindow()
  if win:isFullScreen() then
    win:setFullScreen(false)
  end
end