Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Compositor input grab customization for interfaces that grab #307

Open
@acrisci

Description

@acrisci

It might be cool if Rootston could set its own grab interfaces for wayland interfaces that grab.

On shell initialization, have a method like wlr_wl_shell_set_popup_grab_interface(shell, &rootston_popup_pointer_grab_interface) and pass your own pointer grab interface. The shell will do the work of initializing the data associated with the grab (maybe with an extra member for rootston grab data) and then defer to your interface.

This would allow compositors to have finer control over the grabs such as to change the compositor dnd action on keypress events, deny grabs, alter or read grab data, or things we haven't thought about yet.


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/307

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions