summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwltouch.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-04-18 16:37:19 +0200
committerSamuel Rødal <samuel.rodal@digia.com>2013-04-23 14:18:36 +0200
commit755fac09a8656545c272528e531ba4732154ae3c (patch)
tree735744938d7149b9c1d799bfcd7d0ca03759d8a6 /src/compositor/wayland_wrapper/qwltouch.cpp
parentc2d41eee09a1c88641c6f866528c661728a0bf2f (diff)
Adapted Surface and Region to use the qtwaylandscanner.
This requires some slight additions to the qtwaylandscanner to handle the pattern of the wl_resource not being owned by the generated class. Change-Id: Ia49c8129cee3a203ca9a727e83fafd3dfc653e75 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwltouch.cpp')
-rw-r--r--src/compositor/wayland_wrapper/qwltouch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwltouch.cpp b/src/compositor/wayland_wrapper/qwltouch.cpp
index 458c74bf9..47886890f 100644
--- a/src/compositor/wayland_wrapper/qwltouch.cpp
+++ b/src/compositor/wayland_wrapper/qwltouch.cpp
@@ -105,7 +105,7 @@ bool TouchExtensionGlobal::postTouchEvent(QTouchEvent *event, Surface *surface)
return false;
QPointF surfacePos = surface->pos();
- wl_client *surfaceClient = surface->base()->resource.client;
+ wl_client *surfaceClient = surface->resource()->client();
uint32_t time = m_compositor->currentTimeMsecs();
const int rescount = m_resources.count();