summaryrefslogtreecommitdiff
path: root/src/wayland_protocol
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:53 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:15:43 -0400
commit9a189d29d0ebae79e645101b1fb0fbe5611e5a09 (patch)
tree830425b058b5f534c4ad4c1541eb5d76b98b1375 /src/wayland_protocol
parenta454c91dbe82d1acd0aa7a05aca16551ffa335d5 (diff)
wayland: add efl-hints protocol for setting aspect on surfaces
@feature
Diffstat (limited to 'src/wayland_protocol')
-rw-r--r--src/wayland_protocol/efl-hints.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wayland_protocol/efl-hints.xml b/src/wayland_protocol/efl-hints.xml
new file mode 100644
index 0000000..51689d7
--- /dev/null
+++ b/src/wayland_protocol/efl-hints.xml
@@ -0,0 +1,19 @@
1<protocol name="efl_hints">
2
3 <interface name="efl_hints" version="1">
4 <enum name="aspect">
5 <entry name="none" value="0"/>
6 <entry name="neither" value="1"/>
7 <entry name="horizontal" value="2"/>
8 <entry name="vertical" value="3"/>
9 <entry name="both" value="4"/>
10 </enum>
11 <request name="set_aspect">
12 <arg name="surface" type="object" interface="zxdg_toplevel_v6"/>
13 <arg name="width" type="uint"/>
14 <arg name="height" type="uint"/>
15 <arg name="aspect" type="uint" enum="aspect"/>
16 </request>
17 </interface>
18
19</protocol>