From e8f27ebc2616f875c00d814ab7f29d107e4998c1 Mon Sep 17 00:00:00 2001 From: nia Date: Wed, 14 Jul 2021 21:07:43 +0200 Subject: Disable mouse option when support is unavailable --- Settings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Settings.h') diff --git a/Settings.h b/Settings.h index 6cda3a92..6737f3bb 100644 --- a/Settings.h +++ b/Settings.h @@ -65,7 +65,9 @@ typedef struct Settings_ { bool updateProcessNames; bool accountGuestInCPUMeter; bool headerMargin; + #ifdef HAVE_GETMOUSE bool enableMouse; + #endif int hideFunctionBar; // 0 - off, 1 - on ESC until next input, 2 - permanently #ifdef HAVE_LIBHWLOC bool topologyAffinity; -- cgit v1.2.3