Enrico Weigelt, metux IT consult
dd37cc4855
os: log: replace LogMessageVerbSigSafe() by LogMessageVerb()
...
Since LogMessageVerb() is now signal safe, we can use this one instead.
Leaving LogMessageVerbSigSafe() macro for backwards compat with drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1691 >
2025-02-06 23:35:27 +00:00
Alan Coopersmith
522f469fe9
Move sizeof to second argument in calloc calls
...
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:
../dix/main.c:165:42: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
earlier argument and not in the later argument [-Wcalloc-transposed-args]
165 | serverClient = calloc(sizeof(ClientRec), 1);
| ^~~~~~~~~
../dix/main.c:165:42: note: earlier argument should specify number of
elements, later size of each element
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1606 >
2024-07-19 23:45:21 +00:00
Jeremy Huddleston Sequoia
707f23dab8
xf86-input-inputtest: Fix build on systems without SOCK_NONBLOCK
...
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com >
2022-06-26 09:16:42 +00:00
Povilas Kanapickas
7d2014e7d5
xfree86: Fix event data alignment in inputtest driver
...
This fixes address sanitizer errors when running unit tests. The
additional copying may reduce performance by a small amount, but we
don't care about that because this driver is used for testing only.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2022-02-16 15:25:28 +02:00
Jon Turney
0099412ea4
s/__/@/ in inputtestdrv manpage
...
Update manpage subsitution style for 2e497bf8
2021-11-03 19:58:53 +00:00
Povilas Kanapickas
c97397dc47
Remove autotools support
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2021-10-27 13:15:40 +03:00
Jon Turney
c5a9287dcf
Don't underlink inputtest on targets which require complete linkage
...
Don't underlink inputtest on targets which require complete linkage
(e.g. when building for PE/COFF)
2021-09-01 13:57:40 +00:00
Povilas Kanapickas
1cdc3b5d14
xfree86: Implement gesture support for test input driver
2021-05-30 13:26:45 +03:00
Povilas Kanapickas
5322457980
xfree86/inputtest: Drop extraneous linux-specific include
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2021-01-06 01:48:02 +00:00
Povilas Kanapickas
5e3900904d
xfree86: Use different scroll increment than libinput in inputtest drv
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2020-12-18 04:39:07 +02:00
Povilas Kanapickas
58465a3dd9
xfree86: Add scroll axes to touch devices in inputtest driver
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2020-12-17 03:11:16 +02:00
Povilas Kanapickas
91a8013990
xfree86: Add support for pressure valuator axis in inputtest driver
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2020-12-17 03:11:08 +02:00
Povilas Kanapickas
742b87f7ee
xfree86: Fix axis labels for PointerAbsolute input of inputtest driver
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2020-12-17 03:10:58 +02:00
Povilas Kanapickas
8c0afc9eb2
xfree86: Implement a test input driver
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2020-12-14 01:12:10 +00:00