From e3e2a34cd82c7a45ee174df6e64c2261883ccc20 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 27 May 2022 18:25:08 +0200 Subject: [PATCH] output: remove noop backend check in wlr_output_cursor_set_image The noop backend doesn't exist anymore. --- types/output/cursor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/output/cursor.c b/types/output/cursor.c index f3055c5c..c70b8e3d 100644 --- a/types/output/cursor.c +++ b/types/output/cursor.c @@ -377,9 +377,7 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor, int32_t hotspot_x, int32_t hotspot_y) { struct wlr_renderer *renderer = cursor->output->renderer; if (!renderer) { - // if the backend has no renderer, we can't draw a cursor, but this is - // actually okay, for ex. with the noop backend - return true; + return false; } output_cursor_reset(cursor);