Enrico Weigelt, metux IT consult
88b718bece
xkb: move _XkbErrCode3() and _XkbErrCode4()
...
These are only used inside xkb.c, nowhere else, so no need to
keep them in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2024-04-03 14:32:48 +02:00
Enrico Weigelt, metux IT consult
272e2915fe
config: fix wscons backend on NetBSD
...
Compiler gives warning:
../config/wscons.c: At top level:
../config/wscons.c:262:1: warning: no previous prototype for ‘config_wscons_init’ [-Wmissing-prototypes]
262 | config_wscons_init(void)
| ^~~~~~~~~~~~~~~~~~
../config/wscons.c:270:1: warning: no previous prototype for ‘config_wscons_fini’ [-Wmissing-prototypes]
270 | config_wscons_fini(void)
| ^~~~~~~~~~~~~~~~~~
Problem is: commit bcee84c3e4 wanted to enable
wscons support on NetBSD, but only added compiling config/wscons.c, but didn't
enable setting the CONFIG_WSCONS symbol, so it won't be called at all.
Fixes: bcee84c3e4
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1450 >
2024-04-02 09:50:56 +02:00
Enrico Weigelt, metux IT consult
e3d391b9c6
test: fix FTBS on missing xlib includes on NetBSD
...
When X11 isn't installed directly at /usr hierarchy (eg. NetBSD uses
/usr/X11R7/), build breaks:
../test/list.c:31:10: fatal error: X11/Xlib.h: No such file or directory
31 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
Needs explicitly dependency on libX11, so the include path is added.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1442 >
2024-04-01 23:41:22 +00:00
Enrico Weigelt, metux IT consult
0663bb119a
xfree86: modesetting: fix warning on unused variable
...
Fix warning:
../hw/xfree86/drivers/modesetting/driver.c:1612:19: warning: unused variable ‘pEnt’ [-Wunused-variable]
1612 | EntityInfoPtr pEnt = ms->pEnt;
| ^~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1443 >
2024-04-01 23:36:14 +00:00
Enrico Weigelt, metux IT consult
bcf55bded7
config: wscons: fix warning on discarded const
...
Fix warning:
../config/wscons.c:47:11: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
47 | { KB_UK, "gb" }, \
| ^~~~
../config/wscons.c:58:5: note: in expansion of macro ‘KB_OVRENC’
58 | KB_OVRENC,
| ^~~~~~~~~
../config/wscons.c:48:11: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
48 | { KB_SV, "se" }, \
| ^~~~
[...]
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1444 >
2024-04-01 23:30:43 +00:00
Enrico Weigelt, metux IT consult
c187c54086
test: fix deprecated meson calls
...
Fix meson warning:
> WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1448 >
2024-04-01 23:22:31 +00:00
Enrico Weigelt, metux IT consult
2d4fa74000
config: wscons: use asprintf() instead of deprecated Xprintf()
...
The Xprintf() function is deprecated. Most of it's call sites had been moved
to asprintf(), so also do it for the remaining two ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1449 >
2024-03-28 17:29:58 +01:00
Enrico Weigelt, metux IT consult
a57b449485
include: unpexport SELINUX_* consts from include/global.h
...
globals.h shouldn't be cluttered with extension specific things, that
aren't even used by external modules/drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328 >
2024-03-25 19:40:04 +00:00
Enrico Weigelt, metux IT consult
537293ff4e
os: move SELinux enforcement state to the extension
...
Those fields are better off in the extension instead of the OS layer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328 >
2024-03-25 19:40:04 +00:00
Alan Coopersmith
bb2e2eba42
xorg.conf.man: Add missing new paragraph mark before AllowByteSwappedClients
...
Was previously being shown as part of previous entry.
Fixes: 412777664 ("Disallow byte-swapped clients by default")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1439 >
2024-03-23 14:30:43 -07:00
Alan Coopersmith
3385449c72
Xserver.man: Note that -byteswappedclients is the default in this release
...
Fixes: 412777664 ("Disallow byte-swapped clients by default")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1439 >
2024-03-23 10:27:03 -07:00
Alan Coopersmith
e6573baa7d
Xext: SProcSyncCreateFence needs to swap drawable id too
...
Otherwise it causes the server to return BadDrawable giving a
byte-swapped resource id instead of the real id the client sent.
Reported-by: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69762
Fixes: 397dfd9f8 ("Create/Destroy/Trigger/Reset/Query Fence Sync objs")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1437 >
2024-03-22 17:33:23 -07:00
Enrico Weigelt, metux IT consult
4e53612347
test: xi2: drop unused variable
...
fix warning:
> ../test/xi2/protocol-eventconvert.c:276:9: warning: variable 'buttons' set but not used [-Wunused-but-set-variable]
> int buttons, valuators;
> ^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1429 >
2024-03-22 00:33:29 +00:00
Enrico Weigelt, metux IT consult
f7a97a7ab0
test: simple-xinit: add _X_NORETURN
...
fix warning:
> ../test/simple-xinit.c:58:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1429 >
2024-03-22 00:33:29 +00:00
Enrico Weigelt, metux IT consult
58117a0c3e
meson.build: move manpage specific stuff to man/ subdir
...
Tidy up the huge file a little bit.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1433 >
2024-03-21 23:07:13 +00:00
Enrico Weigelt, metux IT consult
8dc82a13a9
os: rpc: fix type mismatch
...
fix warning:
> ../os/rpcauth.c:159:16: warning: result of comparison of constant -1 with expression of type 'XID' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
> if (rpc_id == ~0L)
> ~~~~~~ ^ ~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1431 >
2024-03-21 22:57:40 +00:00
Enrico Weigelt, metux IT consult
f361931035
xfree86: int10: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
cd84b3eaf3
xfree86: modesettig: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
9fc6e0d304
xfree86: os-support: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
d91098ef48
xfree86: common: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
b2fd743288
xwayland: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
94e5252365
xquartz: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
dfa606d5a4
os: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
d66acae501
Xext: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Olivier Fourdan
821d3d5789
xwayland: Use fractional scale with rootful
...
Implement fractional scale with Xwayland rootful by scaling the content
to the desired fractional scale using a viewport.
For now this applies to Xwayland rootful only.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
3e77c1699a
xwayland: Add helper function for fractional scaling
...
Fractional scaling may not be available, or not suitable for the current
configuration (e.g. if running rootless).
Add a helper function to tell whether fractional scaling should be used.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
7a78756d0a
xwayland: Add support for fractional scale protocol
...
Add support for wp_fractional_scale_v1 protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
98692300f5
build: Bump wayland-protocols requirement to 1.31
...
This is needed to support the "wp-fractional-scale-v1" protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
da84b470cb
xwayland: Rename xwl_window_enable_viewport()
...
To support the fractional scale protocol, we need a viewport.
Rename the existing function xwl_window_enable_viewport() to avoid
confusion with the viewport we use for fullscreen XRandR emulation in
rootless mode.
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
4003b1f9a2
xwayland: Update the global screen scale
...
Recompute and update the global screen scale based on the different
outputs the root window is placed on.
For backward compatibility, this functionality is however disabled by
default and can be enabled using a new command line option "-hidpi".
That option has no effect if Xwayland is running rootless.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
290ae87c02
xwayland: Update the scale based on enter/leave events
...
Recompute the window scale each time the window enters or leaves an
output.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
4248bfb0da
xwayland: Keep track of outputs per window
...
Add a list of outputs a window is placed on, adding an output whenever
the surface enters the output and removing it once it leaves the output.
Note that not all Wayland compositors actually send a leave surface
event on output removal, so we need to make sure to remove the output
from the list for each window, otherwise we might end up pointing to
freed memory.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
cd0c43df13
xwayland: Make has_viewport_enabled private
...
By using a sensible scale factor for input even when there is no
viewport enabled, no need to have xwl_window_has_viewport_enabled()
public anymore.
Small cleanup, no functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
d7f31fe887
xwayland: Apply the viewport's scale_x/y to all input
...
The viewport's scale_x/y is currently applied to the motion event only.
Apply the same viewport_scale_x/y to all relevant input coordinates.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
3ea36e5214
xwayland: Always set the viewport scale factor
...
When the viewport is disabled, set the scale x/y back to 1.0 so that we
can apply the scale factor regardless of the viewport being enabled.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
96fd7cc8c9
xwayland: Rename scale_x/y to viewport_scale_x/y
...
The scale_x/y factor applies when a viewport is in use, rename the
fields to reflect that and distinguish these from the other scale
factors such as the core protocol surface scale and the fractional
scaling.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
54f8fc4090
xwayland: Account for the scale factor
...
Apply the scale factor to the root window and adjust the coordinates and
hotspot location for cursors.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
b678297c53
xwayland: Add scale factor to the Xwayland screen
...
For now, the global surface scale is always 1, no functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
2bdf594cea
xwayland: Track output scales
...
Keep track of the output scales as advertised by the wl_output protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
5b05a29912
xwayland: Use CRTC transforms
...
Advertise the scaling factor applied to the Xwayland output using the
mechanism of CRTC transforms.
That allows for X11 clients to query the scale factor using XRandR.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
6a09cd2d20
xwayland: Introduce output scale
...
Add a scale factor to the Xwayland output and take the scale into
account when computing the screen size.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
8c54f90673
xwayland: Store the mode width/height
...
The mode size can be different from the actual output size when a
transformation is at play.
Store the actual mode width/height as well in preparation for adding
support for transforms.
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
32dad24083
xwayland: Use double for screen size
...
Use double precision floating point for the screen size to reduce the
rounding issues when using fractional scaling.
Introduce a couple of simple convenient functions that round the
floating point value into an integer and use it in place of directly
accessing the xwl_screen width/height for integer computation.
This is preparation work for the introduction of fractional scaling,
there should be no functional change at this point.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Alan Coopersmith
e1c5be126b
bsd_init.c: fix build on FreeBSD
...
Commit 0d4a7ed6 put the definition of pcvt_version inside #ifdef __NetBSD__
but left one use of it outside of the ifdefs, resulting in a build failure
on FreeBSD 14.0 in the gitlab CI for xf86-input-keyboard.
../hw/xfree86/os-support/bsd/bsd_init.c:540:21:
error: use of undeclared identifier 'pcvt_version'
pcvt_version.rmajor, pcvt_version.rminor);
^
../hw/xfree86/os-support/bsd/bsd_init.c:540:42:
error: use of undeclared identifier 'pcvt_version'
pcvt_version.rmajor, pcvt_version.rminor);
^
Fixes: 0d4a7ed68 ("bsd_init.c: fix build on OpenBSD")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1424 >
2024-03-20 03:32:23 +00:00
Enrico Weigelt, metux IT consult
2003adfd33
xwin: consolidate debugging symbols
...
We've got three #define's that are all set at once, on enable_debugging.
A comment in meson.build already asks for consolidating them into one,
so just do it now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1409 >
2024-03-19 02:05:35 +00:00
Enrico Weigelt, metux IT consult
d8758cdd20
xfree86: os-support: ppc_video: drop unused DEV_MEM define
...
This #define is local within a .c file, but became unused about a
decade ago (commit 8686463de7 ).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1410 >
2024-03-19 01:59:38 +00:00
Enrico Weigelt, metux IT consult
0cb8a76a9f
xfree86: os-support: drop obsolete Solaris specific LED defines
...
Historical legacy: the LED ID defines have/had different naming across various
platforms - for better portability of the keyboard driver, those have been
aliased to BSD's naming scheme. Meanwhile, lots of ancient platforms have
been died or moved to other drivers (eg. Linux went to either evdev or libinput
and not supported by the xf86-input-keyboard driver anymore).
The only remaining possible consumer is Solaris. But it has it's own dedicated
code (sun_kbd.c in xf86-input-keyboard), which already using the Solaris' naming.
Therefore, there's no actual consumer of them left, so we can drop them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1418 >
2024-03-19 00:54:38 +00:00
Peter Hutterer
052909ab9b
CI: Only run the driver build job on Xorg changes
...
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1318 >
2024-03-19 00:37:35 +00:00
Peter Hutterer
89b7f45010
CI: add a driver build stage to check for header breakage
...
Pull a few drivers and try to build their most recent release (or a
specific SHA) and see if they still build. If they do, yay, otherwise
fail.
Dependency-wise we need to keep libevdev-dev and libinput-dev around
now and add libspice-protocol-dev for the qxl driver.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1318 >
2024-03-19 00:37:35 +00:00
Peter Hutterer
924939c886
Revert "Fix missing includes of <errno.h>"
...
Removing errno from xf86_OSlib.h breaks the xf86-input-mouse driver
build. And xf86_OSlib.h itself relies on errno anyway in the SYSCALL
macro provided by this header.
This reverts commit f6a367102c .
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1423 >
2024-03-19 00:33:26 +00:00