From 3ee93968e10126adc7dad5c8872f0170c3421e13 Mon Sep 17 00:00:00 2001 From: zorz Date: Tue, 5 May 2026 18:29:35 +0300 Subject: various obsolette --- wlmaker/no-x11-backend.patch | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 wlmaker/no-x11-backend.patch (limited to 'wlmaker/no-x11-backend.patch') diff --git a/wlmaker/no-x11-backend.patch b/wlmaker/no-x11-backend.patch new file mode 100644 index 0000000..8b9feb5 --- /dev/null +++ b/wlmaker/no-x11-backend.patch @@ -0,0 +1,39 @@ +--- a/b/src/backend/output.c 2026-02-21 14:39:37.962224134 +0000 ++++ b/src/backend/output.c 2026-02-21 14:39:50.693224298 +0000 +@@ -31,7 +31,10 @@ + #include + #define WLR_USE_UNSTABLE + #include ++#include ++#if WLR_HAS_X11_BACKEND + #include ++#endif + #include + #include + #include +@@ -142,11 +145,13 @@ + // cursor coordinates well. Force it to 'Normal'. + enum wl_output_transform transformation = + attr_ptr->transformation; ++#if WLR_HAS_X11_BACKEND + if (wlr_output_is_x11(wlr_output_ptr) && + transformation != WL_OUTPUT_TRANSFORM_NORMAL) { + bs_log(BS_WARNING, "X11 backend: Transformation changed to 'Normal'."); + transformation = WL_OUTPUT_TRANSFORM_NORMAL; + } ++#endif + wlr_output_state_set_transform(&state, transformation); + + // Set modes for backends that have them. +@@ -169,7 +174,10 @@ + } + } + +- if ((wlr_output_is_x11(wlr_output_ptr) || ++ if (( ++#if WLR_HAS_X11_BACKEND ++ wlr_output_is_x11(wlr_output_ptr) || ++#endif + wlr_output_is_wl(wlr_output_ptr)) + && 0 < width && 0 < height) { + bs_log(BS_INFO, "Overriding output dimensions to %"PRIu32"x%"PRIu32, -- cgit v1.2.3