Blame SOURCES/0001-dix-fix-valuator-copy-paste-error-in-the-DeviceState.patch

191e41
From 133e0d651c5d12bf01999d6289e84e224ba77adc Mon Sep 17 00:00:00 2001
191e41
From: Peter Hutterer <peter.hutterer@who-t.net>
191e41
Date: Mon, 22 Jan 2024 14:22:12 +1000
191e41
Subject: [PATCH] dix: fix valuator copy/paste error in the DeviceStateNotify
191e41
 event
191e41
191e41
Fixes 219c54b8a3337456ce5270ded6a67bcde53553d5
191e41
---
191e41
 dix/enterleave.c | 6 +++---
191e41
 1 file changed, 3 insertions(+), 3 deletions(-)
191e41
191e41
diff --git a/dix/enterleave.c b/dix/enterleave.c
191e41
index 7b7ba1098..c1e6ac600 100644
191e41
--- a/dix/enterleave.c
191e41
+++ b/dix/enterleave.c
191e41
@@ -619,11 +619,11 @@ FixDeviceValuator(DeviceIntPtr dev, deviceValuator * ev, ValuatorClassPtr v,
191e41
     ev->first_valuator = first;
191e41
     switch (ev->num_valuators) {
191e41
     case 6:
191e41
-        ev->valuator2 = v->axisVal[first + 5];
191e41
+        ev->valuator5 = v->axisVal[first + 5];
191e41
     case 5:
191e41
-        ev->valuator2 = v->axisVal[first + 4];
191e41
+        ev->valuator4 = v->axisVal[first + 4];
191e41
     case 4:
191e41
-        ev->valuator2 = v->axisVal[first + 3];
191e41
+        ev->valuator3 = v->axisVal[first + 3];
191e41
     case 3:
191e41
         ev->valuator2 = v->axisVal[first + 2];
191e41
     case 2:
191e41
-- 
191e41
2.44.0
191e41