summaryrefslogtreecommitdiff
path: root/user/xf86-input-synaptics/input-event.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-input-synaptics/input-event.patch')
-rw-r--r--user/xf86-input-synaptics/input-event.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/user/xf86-input-synaptics/input-event.patch b/user/xf86-input-synaptics/input-event.patch
deleted file mode 100644
index 38b620f09..000000000
--- a/user/xf86-input-synaptics/input-event.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- xf86-input-synaptics-1.9.1/src/eventcomm.c.old 2018-05-29 03:18:45.000000000 +0000
-+++ xf86-input-synaptics-1.9.1/src/eventcomm.c 2020-01-22 02:18:05.881867288 +0000
-@@ -575,9 +575,12 @@
- ev->type = EV_SYN;
- ev->code = SYN_REPORT;
- ev->value = 0;
-- ev->time = last_event_time;
-- } else if (ev->type == EV_SYN)
-- last_event_time = ev->time;
-+ ev->input_event_sec = last_event_time.tv_sec;
-+ ev->input_event_usec = last_event_time.tv_usec;
-+ } else if (ev->type == EV_SYN) {
-+ last_event_time.tv_sec = ev->input_event_sec;
-+ last_event_time.tv_usec = ev->input_event_usec;
-+ }
-
- return TRUE;
- }
-@@ -725,7 +728,7 @@
- case SYN_REPORT:
- hw->numFingers = count_fingers(pInfo, comm);
- if (proto_data->have_monotonic_clock)
-- hw->millis = 1000 * ev.time.tv_sec + ev.time.tv_usec / 1000;
-+ hw->millis = 1000 * ev.input_event_sec + ev.input_event_usec / 1000;
- else
- hw->millis = GetTimeInMillis();
- SynapticsCopyHwState(hwRet, hw);