From 66e92347a823ce0a99a5ba33ec93f35974786dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 31 Mar 2015 11:22:58 +0200 Subject: [PATCH] [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 ;-) --- wayland_backend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland_backend.cpp b/wayland_backend.cpp index e2bf2172b8..778e8b3bce 100644 --- a/wayland_backend.cpp +++ b/wayland_backend.cpp @@ -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))