mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
cursor: set image for new outputs
When an output is added to wlr_cursor, update its cursor image. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2119
This commit is contained in:
parent
d5581e42d4
commit
53b07b5b72
1 changed files with 2 additions and 0 deletions
|
@ -1033,6 +1033,8 @@ static void layout_add(struct wlr_cursor_state *state,
|
|||
&output_cursor->layout_output_destroy);
|
||||
|
||||
wl_list_insert(&state->output_cursors, &output_cursor->link);
|
||||
|
||||
cursor_output_cursor_update(output_cursor);
|
||||
}
|
||||
|
||||
static void handle_layout_add(struct wl_listener *listener, void *data) {
|
||||
|
|
Loading…
Reference in a new issue