Skip to content

Is quick-tap to initiate window grab intended? #62

@lambdadog

Description

@lambdadog

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions