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
Description
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: