mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
wlr_cursor: Consider surface state when setting new cursor surface
Found by inspection
This commit is contained in:
parent
e6fc5d1e49
commit
47a250ae12
1 changed files with 2 additions and 0 deletions
|
@ -481,6 +481,8 @@ void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface,
|
|||
&output_cursor->output_commit);
|
||||
output_cursor->output_commit.notify =
|
||||
output_cursor_output_handle_output_commit;
|
||||
|
||||
output_cursor_output_commit_surface(output_cursor);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue