Add mouse event synthesizing to the touch extension protocol.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 7 Feb 2012 09:39:49 +0000 (11:39 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Tue, 7 Feb 2012 15:16:52 +0000 (16:16 +0100)
commit083ece74feedb93c0ed208017658c85a4bb1e532
tree430cd31526d56e838df38a24e344e91b789e1223
parenta39e37100a86aa64a6463c36d5a6444df01ec169
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>
12 files changed:
examples/qwindow-compositor/qopenglwindow.cpp
examples/qwindow-compositor/qopenglwindow.h
examples/qwindow-compositor/qwindowcompositor.cpp
extensions/touch-extension.xml
src/compositor/compositor_api/waylandcompositor.cpp
src/compositor/compositor_api/waylandcompositor.h
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wlcompositor.h
src/compositor/wayland_wrapper/wltouch.cpp
src/compositor/wayland_wrapper/wltouch.h
src/plugins/platforms/wayland/qwaylandtouch.cpp
src/plugins/platforms/wayland/qwaylandtouch.h