[wayland] Initialize WaylandSeat::m_touch

Without it results in a nice crash when trying to use with touch support.
Having ways to test clearly improves ;-)
This commit is contained in:
Martin Gräßlin 2015-03-31 11:22:58 +02:00
parent 2217c1038f
commit 66e92347a8

View file

@ -66,6 +66,7 @@ WaylandSeat::WaylandSeat(wl_seat *seat, WaylandBackend *backend)
, m_seat(new Seat(this))
, m_pointer(NULL)
, m_keyboard(NULL)
, m_touch(nullptr)
, m_cursor(NULL)
#if HAVE_WAYLAND_CURSOR
, m_theme(new WaylandCursorTheme(backend, this))