mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
fixup! output: pass cursor as layer when set_cursor is unimplemented
This commit is contained in:
parent
ccf04f38d5
commit
dd39fa5bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static bool output_set_hardware_cursor(struct wlr_output *output,
|
||||||
output->cursor_front_buffer = wlr_buffer_lock(buffer);
|
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;
|
output->cursor_layer_changed = true;
|
||||||
wlr_output_update_needs_frame(output);
|
wlr_output_update_needs_frame(output);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue