weston/frontend
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
..
config-helpers.c frontend: use weston_enum_map for renderers 2025-08-05 11:51:23 -05:00
executable.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
main.c backend-headless: Add an option to enable a fake seat 2025-12-08 11:44:27 +01:00
meson.build frontend: create automatic color profiles from .ini 2025-10-07 17:23:35 +03:00
screen-share.c screen-share: Guard pixman_image_unref call on shared_output_destroy 2025-08-28 11:17:33 +02:00
systemd-notify.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
text-backend.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-private.h tests: add color-output-parsing 2025-10-09 16:17:57 +00:00
weston-screenshooter.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston.desktop Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
weston.h Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
xwayland.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00