From 9fa8867c16368ff44824ac11c1fd453f8d45bd92 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 6 May 2024 21:25:43 +0300 Subject: [PATCH] output: disable hardware cursor when falling back to software (cherry picked from commit 510664e79bfc68a1c6d880b9fbff38435887c204) --- types/output/cursor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/output/cursor.c b/types/output/cursor.c index 40443a210..49190b804 100644 --- a/types/output/cursor.c +++ b/types/output/cursor.c @@ -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; }