mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:46:40 +00:00
fix(hammerspoon/window-management): enable moving VSCode windows between desktops
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user