mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 03:05:58 +01:00
use static for transformation matrices
This commit is contained in:
parent
406b2fe6dc
commit
6287f2b71b
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ void CInputManager::newTouchDevice(wlr_input_device* pDevice) {
|
||||||
|
|
||||||
void CInputManager::setTouchDeviceConfigs() {
|
void CInputManager::setTouchDeviceConfigs() {
|
||||||
// The third row is always 0 0 1 and is not expected by `libinput_device_config_calibration_set_matrix`
|
// 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
|
{ // normal
|
||||||
1, 0, 0,
|
1, 0, 0,
|
||||||
0, 1, 0
|
0, 1, 0
|
||||||
|
|
Loading…
Reference in a new issue