diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-23 19:42:18 +0200 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-30 17:24:44 +0000 |
commit | 53b07b5b7279825d917cade677163ddb8ad5acee (patch) | |
tree | 8e0f51a7b563065ee6706a4826cafe7a3a2fccf0 | |
parent | d5581e42d478f00cc980ef0dc16b6786ea6de3f4 (diff) |
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
-rw-r--r-- | types/wlr_cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index f394d38d..889339ec 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -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) { |