Skip to content

Window Movement and Resizing #1721

Answered by koekeishiya
24unix asked this question in Q&A
Discussion options

You must be logged in to vote

Uh not really possible without code changes. In the current structure these actions are bound to mouse-buttons: https://github.com/koekeishiya/yabai/blob/master/src/event.c#L965 and https://github.com/koekeishiya/yabai/blob/master/src/event.c#L998

It would be possible to have this code trigger from a modifier press/release action instead of modifier+mouse_button press/release, however it would need the event tap to listen for kCGEventFlagsChanged events and act appropriately.

Ideally the mouse-actions (move/resize) should be made into commands; I wrote something about that here a long time ago.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by koekeishiya
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@koekeishiya
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants