summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wayland_wrapper.pri
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-01-13 17:37:49 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2012-01-13 17:28:40 +0100
commit27f9b7e3d26df8a33b86161d91ddeb8f80ffa4e3 (patch)
tree6ad54bf41935598657c27e099ad79fe05ceebfd6 /src/compositor/wayland_wrapper/wayland_wrapper.pri
parent2fcfaf58e68e1bad67057bae39e194884a445f4b (diff)
Introduce a touch protocol extension.
Using this opt-in protocol extension all data from QTouchEvent will properly be delivered to the clients. By default compositors will still use the standard and limited protocol for touch events to remain compatible with non-Qt clients. However by calling enableTouchExtension() in the compositor, touch events will be sent through the new protocol and thus Qt clients will receive proper QTouchEvents. Non-Qt clients will get no touch data in this mode. The contents of the rawScreenPositions() list are not yet delivered as the size implications remain to be checked. Change-Id: I981b9c4d44ea808a95b770bf948320abd47fc036 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/wayland_wrapper.pri')
-rw-r--r--src/compositor/wayland_wrapper/wayland_wrapper.pri9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/compositor/wayland_wrapper/wayland_wrapper.pri b/src/compositor/wayland_wrapper/wayland_wrapper.pri
index 8bb7b172b..4c1f6ee13 100644
--- a/src/compositor/wayland_wrapper/wayland_wrapper.pri
+++ b/src/compositor/wayland_wrapper/wayland_wrapper.pri
@@ -1,7 +1,8 @@
WAYLANDSOURCES += \
$$PWD/../../../extensions/surface-extension.xml \
$$PWD/../../../extensions/sub-surface-extension.xml \
- $$PWD/../../../extensions/output-extension.xml
+ $$PWD/../../../extensions/output-extension.xml \
+ $$PWD/../../../extensions/touch-extension.xml
HEADERS += \
@@ -18,7 +19,8 @@ HEADERS += \
$$PWD/wldatasource.h \
$$PWD/wlextendedsurface.h \
$$PWD/wlextendedoutput.h \
- $$PWD/wlsubsurface.h
+ $$PWD/wlsubsurface.h \
+ $$PWD/wltouch.h
SOURCES += \
$$PWD/wlcompositor.cpp \
@@ -34,5 +36,6 @@ SOURCES += \
$$PWD/wldatasource.cpp \
$$PWD/wlextendedsurface.cpp \
$$PWD/wlextendedoutput.cpp \
- $$PWD/wlsubsurface.cpp
+ $$PWD/wlsubsurface.cpp \
+ $$PWD/wltouch.cpp