fix(hammerspoon/window-management): enable moving VSCode windows between desktops

This commit is contained in:
2024-03-07 12:55:07 +00:00
parent 9dd02eadc4
commit d1116deb8a

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 + 5 clickPoint.x = clickPoint.x + clickPoint.w + 10
clickPoint.y = win:frame().y + 7 clickPoint.y = win:frame().y + 7
local mouseClickEvent = eventtap.event.newMouseEvent( local mouseClickEvent = eventtap.event.newMouseEvent(