From 1420bb38a98ab118164882bfe91d8c9be28b3ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 28 May 2015 10:25:11 +0200 Subject: [PATCH] [wayland] Drop Qt version check from WaylandServer::fakeDummyQtWindowInput No longer needed as we install keymaps which prevents the crash in QtWayland this version check worked around. --- wayland_server.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 05a470f5ae..74081557cb 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -238,7 +238,6 @@ void WaylandServer::createDummyQtWindow() void WaylandServer::fakeDummyQtWindowInput() { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) // we need to fake Qt into believing it has got any seat events // this is done only when receiving either a key press or button. // we simulate by sending a button press and release @@ -255,7 +254,6 @@ void WaylandServer::fakeDummyQtWindowInput() m_qtConnection->flush(); m_dummyWindow->hide(); m_seat->setFocusedPointerSurface(oldSeatSurface, oldPos); -#endif } void WaylandServer::dispatch()