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
This commit is contained in:
Kenny Levinsen 2026-02-24 11:34:01 +01:00 committed by Simon Ser
parent ee61bf1d36
commit 468d4bc537

View file

@ -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);