diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-09-17 10:35:12 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-17 08:48:22 +0000 |
commit | 69194916afd652d0282b23b0db06059fe30fd2ae (patch) | |
tree | 1be3c68fb22671b7ed073654898abfca8c2b405f | |
parent | 0bfb35367d3eec75b4d67152b68a7f9f45cc9854 (diff) |
Crash fix
Use the internal API correctly.
Change-Id: I56e1bbe27c126d70da6a04bad9de7c8a8ea1112b
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
-rw-r--r-- | src/compositor/compositor_api/qwaylandtouch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandtouch.cpp b/src/compositor/compositor_api/qwaylandtouch.cpp index 6903ca8c1..edb4231fb 100644 --- a/src/compositor/compositor_api/qwaylandtouch.cpp +++ b/src/compositor/compositor_api/qwaylandtouch.cpp @@ -183,7 +183,7 @@ void QWaylandTouch::sendFullTouchEvent(QTouchEvent *event) void QWaylandTouch::addClient(QWaylandClient *client, uint32_t id) { Q_D(QWaylandTouch); - d->add(client->client(), id); + d->add(client->client(), id, 3); } struct wl_resource *QWaylandTouch::focusResource() const |