diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:55:41 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:55:41 +0100 |
| commit | e07e64458e4ee5c42365bb05260b85723276d1c9 (patch) | |
| tree | bcbe3dd2ef9be08a96c26b285c4bdfa7a1b0ef2f /src/managers/input/InputManager.cpp | |
| parent | a44ab7748f07ae87f944513d01685a7456c44ee0 (diff) | |
input: fix unused variable warn
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 67b2e55d..2b43faf0 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -75,7 +75,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { static auto* const PBORDERGRABEXTEND = &g_pConfigManager->getConfigValuePtr("general:extend_border_grab_area")->intValue; static auto* const PRESIZECURSORICON = &g_pConfigManager->getConfigValuePtr("general:hover_icon_on_border")->intValue; static auto* const PZOOMFACTOR = &g_pConfigManager->getConfigValuePtr("misc:cursor_zoom_factor")->floatValue; - const auto BORDER_GRAB_AREA = *PRESIZEONBORDER ? *PBORDERSIZE + *PBORDERGRABEXTEND : 0; const auto FOLLOWMOUSE = *PFOLLOWONDND && m_sDrag.drag ? 1 : *PFOLLOWMOUSE; |
