-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
One thing that's been bugging me since I've started using Worm as my primary WM is occasionally when I click something on a window, it starts to drag the window around.
I eventually narrowed it down to specifically when I do a rapid single-click without moving my pointer, and after a bit of digging found the code that causes it:
worm/src/events/buttonpress.nim
Lines 76 to 77 in 76389ee
| discard self.dpy.XGrabPointer(client.frame.window, true, PointerMotionMask or | |
| ButtonReleaseMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime) |
Is this intended? If so, would it be possible to gate it behind a setting somewhere?
I've played with deleting the lines of code and it just makes using the WM feel way less "glitchy", as with it included it's far too easy for me to accidentally trigger a drag.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels