fix(hammerspoon/window-management): move to space works with Arc browser

This commit is contained in:
2024-05-12 17:51:14 +01:00
parent f30c675f3b
commit 6336532081

View File

@@ -330,7 +330,7 @@ wm.moveWindowToSpace = function(direction)
local clickPoint = win:zoomButtonRect() local clickPoint = win:zoomButtonRect()
-- click and hold next to the zoom button close to the top of the window -- click and hold next to the zoom button close to the top of the window
clickPoint.x = clickPoint.x + clickPoint.w + 10 clickPoint.x = clickPoint.x + clickPoint.w + 2
clickPoint.y = win:frame().y + 7 clickPoint.y = win:frame().y + 7
local mouseClickEvent = eventtap.event.newMouseEvent( local mouseClickEvent = eventtap.event.newMouseEvent(