miromannino / miro-windows-manager

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

Fullscreen blocks miro #28

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

I submitted a pull request (#27) that seems to work well. I am using this version of the code in my personal setup and very happy with how it works.

rlhk commented 1 year ago

Cool. I need this since long ago.