From ee61bf1d36fd743fab06ff0fce8204f7ff5523e3 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 24 Feb 2026 11:40:00 +0100 Subject: [PATCH 1/4] linux-dmabuf-v1: Bump to version 5 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4459 --- sway/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index aef0d0b0c..f58ea9471 100644 --- a/sway/server.c +++ b/sway/server.c @@ -272,7 +272,7 @@ bool server_init(struct sway_server *server) { if (wlr_renderer_get_texture_formats(server->renderer, WLR_BUFFER_CAP_DMABUF) != NULL) { server->linux_dmabuf_v1 = wlr_linux_dmabuf_v1_create_with_renderer( - server->wl_display, 4, server->renderer); + server->wl_display, 5, server->renderer); } if (wlr_renderer_get_drm_fd(server->renderer) >= 0 && server->renderer->features.timeline && From 468d4bc537e003b55ce7942db11396868b6e488a Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 24 Feb 2026 11:34:01 +0100 Subject: [PATCH 2/4] cursor-shape-v1: Bump to version 2 This adds two new shapes: dnd_ask and all_resize. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4866 --- sway/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index f58ea9471..cb8f4cf04 100644 --- a/sway/server.c +++ b/sway/server.c @@ -440,7 +440,7 @@ bool server_init(struct sway_server *server) { &server->xdg_toplevel_tag_manager_v1_set_tag); struct wlr_cursor_shape_manager_v1 *cursor_shape_manager = - wlr_cursor_shape_manager_v1_create(server->wl_display, 1); + wlr_cursor_shape_manager_v1_create(server->wl_display, 2); server->request_set_cursor_shape.notify = handle_request_set_cursor_shape; wl_signal_add(&cursor_shape_manager->events.request_set_shape, &server->request_set_cursor_shape); From 8b1f48d25b7d27ed9c3fe3e08a2b948e01d8deec Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 24 Feb 2026 11:55:04 +0100 Subject: [PATCH 3/4] layer-shell-v1: Bump to version 5 This adds support for set_exclusive_edge. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5275 --- sway/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index cb8f4cf04..5d446579f 100644 --- a/sway/server.c +++ b/sway/server.c @@ -74,7 +74,7 @@ #endif #define SWAY_XDG_SHELL_VERSION 5 -#define SWAY_LAYER_SHELL_VERSION 4 +#define SWAY_LAYER_SHELL_VERSION 5 #define SWAY_FOREIGN_TOPLEVEL_LIST_VERSION 1 #define SWAY_PRESENTATION_VERSION 2 From d44248ce64c3fe3a477ab096a0e43c7c92241004 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 24 Feb 2026 14:58:43 +0100 Subject: [PATCH 4/4] protocols: Bump vendored wlr-protocols --- protocols/wlr-layer-shell-unstable-v1.xml | 21 +++++++++++++++++-- ...lr-output-power-management-unstable-v1.xml | 4 ++-- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/protocols/wlr-layer-shell-unstable-v1.xml b/protocols/wlr-layer-shell-unstable-v1.xml index d62fd51e9..e9f27e4fd 100644 --- a/protocols/wlr-layer-shell-unstable-v1.xml +++ b/protocols/wlr-layer-shell-unstable-v1.xml @@ -25,7 +25,7 @@ THIS SOFTWARE. - + Clients can use this interface to assign the surface_layer role to wl_surfaces. Such surfaces are assigned to a "layer" of the output and @@ -100,7 +100,7 @@ - + An interface that may be implemented by a wl_surface, for surfaces that are designed to be rendered as a layer of a stacked desktop-like @@ -367,6 +367,7 @@ + @@ -386,5 +387,21 @@ + + + + + + Requests an edge for the exclusive zone to apply. The exclusive + edge will be automatically deduced from anchor points when possible, + but when the surface is anchored to a corner, it will be necessary + to set it explicitly to disambiguate, as it is not possible to deduce + which one of the two corner edges should be used. + + The edge must be one the surface is anchored to, otherwise the + invalid_exclusive_edge protocol error will be raised. + + + diff --git a/protocols/wlr-output-power-management-unstable-v1.xml b/protocols/wlr-output-power-management-unstable-v1.xml index a97783991..20dbb7760 100644 --- a/protocols/wlr-output-power-management-unstable-v1.xml +++ b/protocols/wlr-output-power-management-unstable-v1.xml @@ -50,7 +50,7 @@ - Create a output power management mode control that can be used to + Create an output power management mode control that can be used to adjust the power management mode for a given output. @@ -79,7 +79,7 @@ - +