summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandinputdevice.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-12-23 08:57:11 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-12-23 09:30:21 +0100
commitd9ea435f0179fe2b5fe080338f9ad0b42e848c2d (patch)
treee978d68693f905317f9f3d978e7a3a270541a5ea /src/plugins/platforms/wayland/qwaylandinputdevice.h
parent35f4eeb5c9e5994124d1eb9dbebe2edd6912be8b (diff)
Update wayland-sha and implement the surface on the touchdown event
Change-Id: I32435569e6e1181c6bbafb87d885834a883bf43b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandinputdevice.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandinputdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.h b/src/plugins/platforms/wayland/qwaylandinputdevice.h
index 126f073d4..d0cba2e24 100644
--- a/src/plugins/platforms/wayland/qwaylandinputdevice.h
+++ b/src/plugins/platforms/wayland/qwaylandinputdevice.h
@@ -75,6 +75,7 @@ private:
struct wl_data_device *mTransferDevice;
QWaylandWindow *mPointerFocus;
QWaylandWindow *mKeyboardFocus;
+ QWaylandWindow *mTouchFocus;
static const struct wl_input_device_listener inputDeviceListener;
Qt::MouseButtons mButtons;
QPoint mSurfacePos;
@@ -106,6 +107,7 @@ private:
static void inputHandleTouchDown(void *data,
struct wl_input_device *wl_input_device,
uint32_t time,
+ struct wl_surface *surface,
int id,
int x,
int y);