diff options
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/meson.build | 5 | ||||
-rw-r--r-- | protocol/screenshooter.xml | 16 |
2 files changed, 19 insertions, 2 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index 6dc88d76..28a7b668 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -22,11 +22,12 @@ wayland_scanner_client = generator( protocols = [ [wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml'], - 'gamma-control.xml' + 'gamma-control.xml', + 'screenshooter.xml', ] client_protocols = [ - [wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml'] + [wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml'], ] wl_protos_src = [] diff --git a/protocol/screenshooter.xml b/protocol/screenshooter.xml new file mode 100644 index 00000000..fc48eac9 --- /dev/null +++ b/protocol/screenshooter.xml @@ -0,0 +1,16 @@ +<protocol name="orbital_screenshooter"> + + <interface name="orbital_screenshooter" version="1"> + <request name="shoot"> + <arg name="id" type="new_id" interface="orbital_screenshot"/> + <arg name="output" type="object" interface="wl_output"/> + <arg name="buffer" type="object" interface="wl_buffer"/> + </request> + </interface> + + <interface name="orbital_screenshot" version="1"> + <event name="done"> + </event> + </interface> + +</protocol> |