diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/wlmaker/no-x11-backend.patch | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/wlmaker/no-x11-backend.patch')
| -rw-r--r-- | opt/wlmaker/no-x11-backend.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/opt/wlmaker/no-x11-backend.patch b/opt/wlmaker/no-x11-backend.patch new file mode 100644 index 0000000..8b9feb5 --- /dev/null +++ b/opt/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 <wayland-util.h> + #define WLR_USE_UNSTABLE + #include <wlr/backend/wayland.h> ++#include <wlr/config.h> ++#if WLR_HAS_X11_BACKEND + #include <wlr/backend/x11.h> ++#endif + #include <wlr/render/allocator.h> + #include <wlr/types/wlr_output.h> + #include <wlr/types/wlr_scene.h> +@@ -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, |
