Wayland is a complete window system in itself, but even so, if we're
migrating away from X, it makes sense to have a good backwards
compatibility story. With a few changes, the Xorg server can be
modified to use wayland input devices for input and forward either the
root window or individual top-level windows as wayland surfaces. The
server still runs the same 2D driver with the same acceleration code
as it does when it runs natively. The main difference is that wayland
handles presentation of the windows instead of KMS.
===> The following configuration options are available for xwayland-devel-21.0.99.1.671_1:
CSD=on: Client-side decorations via libdecor
EI=on: Emulated input via libei
NVIDIA=off: EGLStream support for glamor on Xwayland
===> Use 'make config' to modify these settings
x11-servers/xwayland-devel: adjust upstream reference after 77f72c463b90
Only using 1 rebased patch from 23.2 branch as the rest apply fine "as is".
--- bdca6c3d1f50.patch 2024-04-04 00:37:36 UTC
+++ 01941a831811.patch 2024-04-04 09:39:24 UTC
@@ -1,4 +1,4 @@
-From bdca6c3d1f5057eeb31609b1280fc93237b00c77 Mon Sep 17 00:00:00 2001
+From 01941a831811c9fd47ffed5ea96375abeb20c9fc Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue, 30 Jan 2024 13:13:35 +1000
Subject: [PATCH] render: fix refcounting of glyphs during ProcRenderAddGlyphs
@@ -20,15 +20,17 @@ Jan-Niklas Sohn working with Trend Micro Zero Day Init
This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
(Only the first 15 lines of the commit message are shown above )
x11-servers/xwayland-devel: temporarily revert backports
===> Applying distribution patches for xwayland-devel-21.0.99.1.671_1
No file to patch. Skipping...
1 out of 1 hunks ignored--saving rejects to render/glyphstr_priv.h.rej
===> FAILED Applying distribution patch bdca6c3d1f50.patch with -p1
*** Error code 1
This reverts commit 655bcbcfb9e0caff8e8e2705a78f5a5a3db3d83a.