fixup! output: pass cursor as layer when set_cursor is unimplemented

This commit is contained in:
Simon Ser 2023-07-03 17:51:17 +02:00
parent ccf04f38d5
commit dd39fa5bd6

View file

@ -82,7 +82,7 @@ static bool output_set_hardware_cursor(struct wlr_output *output,
output->cursor_front_buffer = wlr_buffer_lock(buffer);
}
if (!output->impl->set_cursor) {
if (!output->impl->set_cursor && output->cursor_layer != NULL) {
output->cursor_layer_changed = true;
wlr_output_update_needs_frame(output);
}