From 510664e79bfc68a1c6d880b9fbff38435887c204 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 --- 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 4d1e0a13..7c3029c0 100644 --- a/types/output/cursor.c +++ b/types/output/cursor.c @@ -391,8 +391,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; }