aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-07 17:31:30 +0200
committeremersion <contact@emersion.fr>2017-10-07 16:22:02 +0200
commit1c8b72e0cd63c4965bc04e7390d3165a9e4c08ce (patch)
treeaf6d5816bf7e4baf28762ba60fccedaa96a52c3f /protocol
parent321c26c2a3c77ddba52e1a6194669328e473fdb4 (diff)
Add screenshooter skeleton
Diffstat (limited to 'protocol')
-rw-r--r--protocol/meson.build5
-rw-r--r--protocol/screenshooter.xml16
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>