From f2e6d79de4173eab77bc4137ddd9ed2fbd4740e1 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 5 Dec 2021 12:02:57 +0600 Subject: [PATCH] Fix building with Wayland --- src/qt/qt_rendererstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_rendererstack.cpp b/src/qt/qt_rendererstack.cpp index 1205632ad..cbc0b5e44 100644 --- a/src/qt/qt_rendererstack.cpp +++ b/src/qt/qt_rendererstack.cpp @@ -62,7 +62,7 @@ void RendererStack::mousePoll() mousedata.deltax = mousedata.deltay = mousedata.deltaz = 0; mouse_buttons = mousedata.mousebuttons; #ifdef WAYLAND - if (wayland) + if (QApplication::platformName().contains("wayland")) wl_mouse_poll(); #endif #endif