From 6287f2b71b5b3bd97688db2563a9255c2b98533e Mon Sep 17 00:00:00 2001 From: Histausse Date: Mon, 10 Oct 2022 12:29:03 +0200 Subject: [PATCH] use static for transformation matrices --- src/managers/input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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