xdg-shell: Introduce set_modal and unset_modal
Add set_modal
and unset_modal
requests to the xdg_toplevel
interface.
This mitigates the need for private GtkShell protocol.
This has been in use in GTK and Mutter for 8 years now, would be great if non-gtk apps could use it as well without depending on private protocols.
Example of how modals look like in Mutter:
If there will be any interest in this I would be happy to do Smithay, Mutter and GTK implementations of this.
Signed-off-by: Bartłomiej Maryńczak marynczakbartlomiej@gmail.com
cc @jadahl You might be interested in this, as you appear to be the one who implemented this part of GtkShell