summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-02-07 11:39:49 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2012-02-07 16:16:52 +0100
commit083ece74feedb93c0ed208017658c85a4bb1e532 (patch)
tree430cd31526d56e838df38a24e344e91b789e1223 /extensions
parenta39e37100a86aa64a6463c36d5a6444df01ec169 (diff)
Add mouse event synthesizing to the touch extension protocol.
The compositor can now be configured to tell the clients to generate mouse events when receiving touch events. In touchscreen-only systems this can be used to reduce the number of Wayland events. Change-Id: I231a15cd4ed463ee81c510c082a270efa255a1f3 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/touch-extension.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/touch-extension.xml b/extensions/touch-extension.xml
index 268d70a68..d1baa7ba9 100644
--- a/extensions/touch-extension.xml
+++ b/extensions/touch-extension.xml
@@ -56,6 +56,14 @@
<arg name="rawdata" type="array" />
</event>
+ <enum name="flags">
+ <entry name="mouse_from_touch" value="0x1" />
+ </enum>
+
+ <event name="configure">
+ <arg name="flags" type="uint" />
+ </event>
+
<request name="dummy">
</request>