From 0907e87f1576f8ad70657d00d720b4f6ead8aed8 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 28 Dec 2022 17:59:36 +0200 Subject: [PATCH] input: Fix minor issue while reporting disable cursor We actually reported the cursor being disabled when it fact it was not. Bug-AGL: SPEC-4658 Signed-off-by: Marius Vlad Change-Id: I81ee23e4ef2621c96344ce526a7b53d235d325e3 --- src/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input.c b/src/input.c index 026625f..ad4977c 100644 --- a/src/input.c +++ b/src/input.c @@ -177,7 +177,7 @@ ivi_shell_handle_seat_created(struct wl_listener *listener, void *data) struct ivi_compositor *ivi = container_of(listener, struct ivi_compositor, seat_created_listener); - weston_log("Cursor is %s\n", ivi->disable_cursor ? "set" : "not set"); + weston_log("Cursor is %s\n", ivi->disable_cursor ? "disabled" : "not disabled"); ivi_shell_seat_create(seat, ivi->disable_cursor); } @@ -204,7 +204,7 @@ ivi_seat_init(struct ivi_compositor *ivi) wl_list_for_each(seat, &ec->seat_list, link) { weston_log("Seat %p, cursor is %s\n", seat, ivi->disable_cursor ? - "set" : "not set"); + "not disabled" : "disabled"); ivi_shell_seat_create(seat, ivi->disable_cursor); } -- 2.16.6