diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-01-14 14:58:35 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2012-01-16 08:02:36 +0100 |
commit | b4348fc574c93417010ef1b7a5d77166b9f75fa7 (patch) | |
tree | 2937eb1d534d1d68fb796dcce307bd7fe2999d87 /src/plugins/platforms/wayland/qwaylanddisplay.cpp | |
parent | c316a668cac0becfa651754ef1572d4122c2694a (diff) |
Rename touch extension interface and fix event sending
Follow the naming convention of other extensions.
The events are now posted only to the client to which the focus
surface belongs, the check was previously missing.
Change-Id: Ie43b6e887b64c7bed1377babb368129753a3cd0f
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddisplay.cpp')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylanddisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp index d3296900e..a3e945252 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp +++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp @@ -311,7 +311,7 @@ void QWaylandDisplay::displayHandleGlobal(uint32_t id, mWindowExtension = new QWaylandSurfaceExtension(this,id); } else if (interface == "wl_sub_surface_extension") { mSubSurfaceExtension = new QWaylandSubSurfaceExtension(this,id); - } else if (interface == "wl_touch") { + } else if (interface == "wl_touch_extension") { mTouchExtension = new QWaylandTouchExtension(this, id); } } |