output: disable hardware cursor when falling back to software

(cherry picked from commit 510664e79b)
This commit is contained in:
Kirill Primak 2024-05-06 21:25:43 +03:00 committed by Simon Zeni
parent 13a2020334
commit 9fa8867c16

View file

@ -463,8 +463,8 @@ bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
return true;
}
wlr_log(WLR_DEBUG, "Falling back to software cursor on output '%s'",
cursor->output->name);
wlr_log(WLR_DEBUG, "Falling back to software cursor on output '%s'", output->name);
output_disable_hardware_cursor(output);
output_cursor_damage_whole(cursor);
return true;
}