From fd614963507b12377d868e3b7e95f0d9babb2eb1 Mon Sep 17 00:00:00 2001 From: Nathan Mills <38995150+Quipyowert2@users.noreply.github.com> Date: Sat, 22 Apr 2023 16:47:36 -0700 Subject: [PATCH] Fix undefined reference to Screen::scrollWheelEnabled. --- src/Settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Settings.cpp b/src/Settings.cpp index 07c11e79..96671b42 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -126,7 +126,9 @@ void Settings::load(std::string filename) READ_PARSED_INT(mute); READ_PARSED_INT(rememberUnit); READ_PARSED_INT(scrollWheelEnabled); +#ifndef YOG_SERVER_ONLY GAGGUI::Screen::scrollWheelEnabled = scrollWheelEnabled; +#endif for(int n=0; n