From 886c0acd47b07320d01323a140dccd63c9919d9c Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Tue, 26 Apr 2022 02:16:32 +0600 Subject: [PATCH] Fix compilation error when 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 1d725d0d7..2d6e5e932 100644 --- a/src/qt/qt_rendererstack.cpp +++ b/src/qt/qt_rendererstack.cpp @@ -72,7 +72,7 @@ RendererStack::RendererStack(QWidget *parent) this->mouse_poll_func = wl_mouse_poll; this->mouse_capture_func = wl_mouse_capture; this->mouse_uncapture_func = wl_mouse_uncapture; - } else + } # endif # ifdef EVDEV_INPUT if (!stricmp(mouse_type, "evdev")) {