From fdddffa2dd1fef8985e945f394f4974e365f5121 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 28 Dec 2022 17:59:36 +0200 Subject: 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 (cherry picked from commit 0907e87f1576f8ad70657d00d720b4f6ead8aed8) --- src/input.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/input.c b/src/input.c index 1a143ce..cd64246 100644 --- a/src/input.c +++ b/src/input.c @@ -177,8 +177,8 @@ 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->hide_cursor ? "set" : "not set"); - ivi_shell_seat_create(seat, ivi->hide_cursor); + weston_log("Cursor is %s\n", ivi->disable_cursor ? "disabled" : "not disabled"); + ivi_shell_seat_create(seat, ivi->disable_cursor); } /* @@ -203,9 +203,9 @@ ivi_seat_init(struct ivi_compositor *ivi) struct weston_seat *seat; wl_list_for_each(seat, &ec->seat_list, link) { - weston_log("Seat %p, cursor is %s\n", seat, ivi->hide_cursor ? - "set" : "not set"); - ivi_shell_seat_create(seat, ivi->hide_cursor); + weston_log("Seat %p, cursor is %s\n", seat, ivi->disable_cursor ? + "not disabled" : "disabled"); + ivi_shell_seat_create(seat, ivi->disable_cursor); } ivi->seat_created_listener.notify = ivi_shell_handle_seat_created; -- cgit 1.2.3-korg