mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Add screenshooter skeleton
This commit is contained in:
parent
321c26c2a3
commit
1c8b72e0cd
6 changed files with 315 additions and 2 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
16
protocol/screenshooter.xml
Normal file
16
protocol/screenshooter.xml
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue