diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-12-28 17:59:36 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-01-19 11:18:57 +0200 |
commit | fdddffa2dd1fef8985e945f394f4974e365f5121 (patch) | |
tree | 3e4e2fb9db68265f08baec19e46ba4f2a4c0ddfc | |
parent | 0a936136ace7f2f4cc2a11834cde4be86381372f (diff) |
input: Fix minor issue while reporting disable cursorneedlefish
We actually reported the cursor being disabled when it fact it was not.
Bug-AGL: SPEC-4658
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I81ee23e4ef2621c96344ce526a7b53d235d325e3
(cherry picked from commit 0907e87f1576f8ad70657d00d720b4f6ead8aed8)
-rw-r--r-- | src/input.c | 10 |
1 files 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; |