aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/output/cursor.c4
1 files changed, 1 insertions, 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);