output: pass cursor as layer when set_cursor is unimplemented

This commit is contained in:
Simon Ser 2023-06-06 20:02:50 +02:00
parent bf4c20a05d
commit 9c442c7fd8
4 changed files with 99 additions and 11 deletions

View file

@ -189,6 +189,8 @@ struct wlr_output {
struct wlr_swapchain *cursor_swapchain;
struct wlr_buffer *cursor_front_buffer;
int software_cursor_locks; // number of locks forcing software cursors
struct wlr_output_layer *cursor_layer;
bool cursor_layer_changed;
struct wl_list layers; // wlr_output_layer.link