[PATCH wayland-protocols] unstable: Add the Wayland Wobbly Windows protocol
Derek Foreman
derekf at osg.samsung.com
Fri Apr 1 15:14:48 UTC 2016
From: Mike Blumenkrantz <zmike at osg.samsung.com>
This protocol tells clients when they're moved and when they're
being dragged so they can use this information for amazing
graphical effects.
For more information on how this is used in EFL applications, please see:
https://blogs.s-osg.org/implementing-client-side-post-processing-effects-in-wayland
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
Makefile.am | 1 +
unstable/www/README | 5 ++++
unstable/www/www-unstable-v1.xml | 58 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+)
create mode 100644 unstable/www/README
create mode 100644 unstable/www/www-unstable-v1.xml
diff --git a/Makefile.am b/Makefile.am
index 033789f..620ad86 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,7 @@ unstable_protocols = \
unstable/relative-pointer/relative-pointer-unstable-v1.xml \
unstable/pointer-constraints/pointer-constraints-unstable-v1.xml \
unstable/tablet/tablet-unstable-v1.xml \
+ unstable/www/www-unstable-v1.xml \
$(NULL)
stable_protocols = \
diff --git a/unstable/www/README b/unstable/www/README
new file mode 100644
index 0000000..f5b3a06
--- /dev/null
+++ b/unstable/www/README
@@ -0,0 +1,5 @@
+Wayland Wobbly Windows protocol
+
+Maintainers:
+Mike Blumenkrantz <zmike at osg.samsung.com>
+Derek Foreman <derekf at osg.samsung.com>
diff --git a/unstable/www/www-unstable-v1.xml b/unstable/www/www-unstable-v1.xml
new file mode 100644
index 0000000..cb928a9
--- /dev/null
+++ b/unstable/www/www-unstable-v1.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<protocol name="zwp_www">
+
+ <copyright>
+ Copyright C 2016 Samsung Electronics
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice (including the next
+ paragraph) shall be included in all copies or substantial portions of the
+ Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+ </copyright>
+
+ <description summary="Protocol for Wayland Wobbly Windows">
+ This protocol provides support for wobbly windows on Wayland by
+ informing a client when it has moved or is being dragged.
+ </description>
+
+ <interface name="www" version="1">
+ <request name="create">
+ <description summary="Create an object for WWW notifications">
+ </description>
+ <arg name="id" type="new_id" interface="www_surface"/>
+ <arg name="surface" type="object" interface="wl_surface"/>
+ </request>
+ </interface>
+ <interface name="www_surface" version="1">
+ <event name="status">
+ <description summary="Status update on a www_surface"></description>
+ <arg name="x_rel" type="int"/>
+ <arg name="y_rel" type="int"/>
+ <arg name="timestamp" type="uint"/>
+ </event>
+ <event name="start_drag">
+ <description summary="Drag has started"></description>
+ </event>
+ <event name="end_drag">
+ <description summary="Drag has ended"></description>
+ </event>
+ <request name="destroy" type="destructor">
+ <description summary="Destroy a www_surface">
+ </description>
+ </request>
+ </interface>
+</protocol>
--
2.8.0.rc3
More information about the wayland-devel
mailing list