summaryrefslogtreecommitdiff
path: root/src/compositor/extensions/qwlqttouch.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-11 16:07:23 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-28 13:10:33 +0200
commite01b81339a37830c48f2cec0583e5d0aba592601 (patch)
treebd3085460c0139a10c5fd5d322b9059e6c97b5ee /src/compositor/extensions/qwlqttouch.cpp
parentbc331abe8e8ffaa3db12be7ae69e7b658dd700ac (diff)
downloadqtwayland-e01b81339a37830c48f2cec0583e5d0aba592601.tar.gz
Remove QtWayland::Surface
Its enough to have QWaylandSurface and QWaylandSurfacePrivate. Also don't pass QWaylandSurfacePrivate around, but pass QWaylandSurface and then use the QWaylandSurfacePrivate::get function. Change-Id: I915cc9d7b4497ad1c6f1f2dee61d9d0db069ba6b
Diffstat (limited to 'src/compositor/extensions/qwlqttouch.cpp')
-rw-r--r--src/compositor/extensions/qwlqttouch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compositor/extensions/qwlqttouch.cpp b/src/compositor/extensions/qwlqttouch.cpp
index 19f5b393..9c476dbf 100644
--- a/src/compositor/extensions/qwlqttouch.cpp
+++ b/src/compositor/extensions/qwlqttouch.cpp
@@ -35,7 +35,6 @@
****************************************************************************/
#include "qwlqttouch_p.h"
-#include "qwlsurface_p.h"
#include "qwaylandview.h"
#include <QTouchEvent>
#include <QWindow>
@@ -73,7 +72,7 @@ bool TouchExtensionGlobal::postTouchEvent(QTouchEvent *event, QWaylandView *view
return false;
QPointF surfacePos = view->requestedPosition();
- wl_client *surfaceClient = view->surface()->handle()->resource()->client();
+ wl_client *surfaceClient = view->surface()->client()->client();
uint32_t time = m_compositor->currentTimeMsecs();
const int rescount = m_resources.count();