summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorHistausse <histausse@protonmail.com>2022-10-10 12:29:03 +0200
committerHistausse <histausse@protonmail.com>2022-10-10 12:52:12 +0200
commit6287f2b71b5b3bd97688db2563a9255c2b98533e (patch)
tree571d8d43bb2549b95e6f8f67c9a0ec6bbeee3250 /src/managers/input/InputManager.cpp
parent406b2fe6dc5e5911436b9fa030e4be69fd544515 (diff)
use static for transformation matrices
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index bdfa06de..e78ddda2 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -1045,7 +1045,7 @@ void CInputManager::newTouchDevice(wlr_input_device* pDevice) {
void CInputManager::setTouchDeviceConfigs() {
// The third row is always 0 0 1 and is not expected by `libinput_device_config_calibration_set_matrix`
- const float MATRICES[8][6] = {
+ static const float MATRICES[8][6] = {
{ // normal
1, 0, 0,
0, 1, 0