MacGesture/MacGesture

Ignore click when a modifier is held

jimparis opened this issue ยท 0 comments

๐Ÿ‡ฌ๐Ÿ‡ง Please write the feedback in English if possible so everyone who might read it will be able to respond easily! ๐Ÿ‘

Is your feature request related to a problem? Please describe.
I use some Hammerspoon scripts to allow me to do things like resize windows by holding Option + right-mouse-button drag. However, MacGesture swallows the right mouse button press for windows where MacGesture is enabled.

Describe the solution you'd like
It would be helpful to be able to specify modifier key state, and have MacGesture only function when those particular modifiers are held. For example, an option like:

  • Only enable gestures when the following modifiers are pressed:
    • Command
    • Option
    • Shift
    • Control

Then, I could select the first checkbox and leave the others blank, so that MacGesture ignores clicks whenever any modifiers are held.
Describe alternatives you've considered
Using a different mouse button for my window resizing and MacGesture works for now.