[Take 2][PATCH] protocol: make wl_shell_surface_move support touch

Rusty Lynch rusty.lynch at intel.com
Wed Aug 14 15:46:40 PDT 2013


>From 31c091b0de2d97b722b21a6bd0ad8c309fb3598a Mon Sep 17 00:00:00 2001
From: Rusty Lynch <rusty.lynch at intel.com>
Date: Wed, 14 Aug 2013 15:41:43 -0700
Subject: [PATCH] protocol: make wl_shell_surface_move support touch

Bump the version of the wl_shell_surface interface and specify that
wl_shell_surface_move works with either touch or pointer input.
---
 protocol/wayland.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index d7bbbb9..ae3c8d7 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -683,7 +683,7 @@
     </request>
   </interface>
 
-  <interface name="wl_shell_surface" version="1">
+  <interface name="wl_shell_surface" version="2">
 
     <description summary="desktop-style metadata interface">
       An interface that may be implemented by a wl_surface, for
@@ -709,9 +709,9 @@
 
     <request name="move">
       <description summary="start an interactive move">
-	Start a pointer-driven move of the surface.
+	Start either a pointer-driven or touch-driven move of the surface.
 
-	This request must be used in response to a button press event.
+	This request must be used in response to a button press or touch event.
 	The server may ignore move requests depending on the state of
 	the surface (e.g. fullscreen or maximized).
       </description>
-- 
1.8.3.1





More information about the wayland-devel mailing list