From c5846bed1d01497c75f8347e4d5dd1077cf171e9 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 2 Jan 2024 21:36:40 -0500 Subject: [PATCH] wlheadless: Add support for kwin Even though kwin_wayland supports passing a command, it seems the actual arguments following the command get ignored, so this is not suitable for wlheadless. Instead, we spawn kwin_wayland and the clients separately like we do for weston. --- README.md | 5 +-- man/wlheadless-run.man | 2 +- meson_options.txt | 2 +- src/wlheadless/kwin.py | 70 ++++++++++++++++++++++++++++++++++++++ src/wlheadless/meson.build | 1 + 5 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 src/wlheadless/kwin.py diff --git a/README.md b/README.md index f4d4490..d37243e 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ and currently support the following compositors: * [weston](https://gitlab.freedesktop.org/wayland/weston) * [cage](https://github.com/cage-kiosk/cage) + * [kwin](https://invent.kde.org/plasma/kwin) * [gnome-kiosk](https://gitlab.gnome.org/GNOME/gnome-kiosk) * [mutter](https://gitlab.gnome.org/GNOME/mutter) @@ -81,7 +82,7 @@ usage: wlheadless-run [-c compositor] -- client