mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-10 05:34:08 -04:00
xdg-cutouts-v1: New protocol implementation
See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/372 The compositor implemention can connect to the `new_cutouts` signal which is invoked whenever a client binds the protocol. It then listens for the `send_cutouts` signal on the received `cutouts` object and when received sends the cutout information via any number of `wlr_xdg_cutouts_v1_send_{cutout,corner}` calls followed by a `wlr_xdg_cutouts_v1_send_cutouts_done` call. The ids used in these calls are up to the compositor implementation. The `unhandled_update` signal is invoked when the client reports any sent ids as unhandled. Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
parent
a962d58727
commit
dc597cec78
5 changed files with 693 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ wlr_files += files(
|
|||
'wlr_virtual_pointer_v1.c',
|
||||
'wlr_xcursor_manager.c',
|
||||
'wlr_xdg_activation_v1.c',
|
||||
'wlr_xdg_cutouts_v1.c',
|
||||
'wlr_xdg_decoration_v1.c',
|
||||
'wlr_xdg_dialog_v1.c',
|
||||
'wlr_xdg_foreign_v1.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue