Skip to content

Adding pointer grab support #104

@swesterfeld

Description

@swesterfeld

In some cases my SpectMorph plugin has the problem that the mouse pointer hits the border of the screen while the user would still want to drag further. For instance SpectMorph has sliders which support SHIFT+drag to do fine adjustment. In this case after the mouse click the mouse is moving much faster than the slider itself.

The best fix I can think of is for these cases grab & hide the mouse pointer so that it will not hit the border of the screen no matter how far the user drags the mouse from its original click point. I wonder if this would be a feature you would want to see added to pugl. If so, I can try to provide an API suggestion and at least an implementation for X11 as PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions