weston/include/libweston
Olivier Fourdan 0126a5b4fc backend-headless: Add an option to enable a fake seat
When running headless, weston will not expose a wl_seat.

This was removed with commit a1046adc ("compositor-headless: do not
create a seat").

However, some applications, namely GTK3 based, will log a warning when
there is no wl_seat:

 | gdk_seat_get_keyboard assertion GDK_IS_SEAT(seat) failed

While this is arguably a bug in GTK3 which should not complain with a
legit setup, that breaks the CI of those projects when using Weston,
while most of the other Wayland compositors will create a fake seat when
running headless, making weston the odd ball there.

This changes adds a new option "--fake-seat" that will instruct weston
to create a seat when running headless. The default remains not to
create a seat though, so backward compatibility is preserved.

This partially reverts commit a1046adc66.

See-also: https://gitlab.freedesktop.org/ofourdan/xwayland-run/-/issues/12
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2025-12-08 11:44:27 +01:00
..
backend-drm.h backend-drm: offload post-blend color transformation to KMS 2025-09-02 13:34:00 +00:00
backend-headless.h backend-headless: Add an option to enable a fake seat 2025-12-08 11:44:27 +01:00
backend-pipewire.h backend-pipewire: support frame rate configuration 2025-09-15 08:20:52 +00:00
backend-rdp.h frontend: Disable client resize for RDP remote outputs 2024-08-12 15:50:13 +00:00
backend-vnc.h vnc: Allow to disable Transport Layer Security 2024-08-14 07:48:09 +00:00
backend-wayland.h backend-wayland: Use renderer enum type for config selection 2023-01-10 10:59:04 +02:00
backend-x11.h backend-x11: Use renderer enum type for config selection 2023-01-10 10:59:04 +02:00
colorimetry.h color: add weston_color_profile_param_builder_set_target_primaries_named() 2025-10-09 16:17:57 +00:00
config-parser.h shared: implement weston_parse_space_separated_list() 2025-10-07 17:23:35 +03:00
desktop.h libweston/desktop: Update my Copyright 2024-02-11 19:07:39 +01:00
libweston.h compositor: Add the fifo-v1 protocol 2025-12-04 14:03:13 -06:00
linalg-3.h color: run vec3 through weston_color_curve_sample() 2025-10-21 14:23:37 +03:00
linalg-4.h libweston: add C++ braces to linalg headers 2025-04-30 16:11:58 +03:00
linalg-types.h libweston: add C++ braces to linalg headers 2025-04-30 16:11:58 +03:00
linalg.h libweston: add C++ braces to linalg headers 2025-04-30 16:11:58 +03:00
matrix.h libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
meson.build libweston: move stuff into colorimetry.h 2025-04-30 16:11:58 +03:00
pipewire-plugin.h plug-ins: Migrate pipewire and remoting plug-ins headers to public header 2020-09-04 10:36:48 +00:00
plugin-registry.h Rename plugin-registry.h to libweston/plugin-registry.h 2019-04-18 12:31:46 +03:00
remoting-plugin.h plug-ins: Migrate pipewire and remoting plug-ins headers to public header 2020-09-04 10:36:48 +00:00
shell-utils.h libweston: Add shell_private data 2025-03-04 12:30:51 +00:00
version.h.in Rename version.h to libweston/version.h 2019-04-18 12:31:46 +03:00
weston-log.h weston-log: Add a advertised list of debug scopes 2025-06-04 17:43:33 +03:00
windowed-output-api.h windowed-output-api.h: Provide ARRAY_LENGH() for windowed-output-api 2025-01-17 10:18:28 +02:00
xwayland-api.h kiosk-shell, xwayland: Add a new weston_xwayland_surface_api function 2024-06-07 12:40:50 +00:00
zalloc.h Rename zalloc.h to libweston/zalloc.h 2019-04-18 12:31:46 +03:00