mirror of
https://github.com/swaywm/sway.git
synced 2026-04-11 08:21:24 -04:00
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:
parent
ee61bf1d36
commit
468d4bc537
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ bool server_init(struct sway_server *server) {
|
||||||
&server->xdg_toplevel_tag_manager_v1_set_tag);
|
&server->xdg_toplevel_tag_manager_v1_set_tag);
|
||||||
|
|
||||||
struct wlr_cursor_shape_manager_v1 *cursor_shape_manager =
|
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;
|
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);
|
wl_signal_add(&cursor_shape_manager->events.request_set_shape, &server->request_set_cursor_shape);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue