/* remove the POINTER capability such that the client will not install
* a cursor surface */
- if (shseat->hide_cursor && !shseat->new_caps_sent && resources) {
+ if (shseat->disable_cursor && !shseat->new_caps_sent && resources) {
caps &= ~WL_SEAT_CAPABILITY_POINTER;
wl_resource_for_each(resource, &pointer->seat->base_resource_list) {
wl_seat_send_capabilities(resource, caps);
}
static struct ivi_shell_seat *
-ivi_shell_seat_create(struct weston_seat *seat, bool hide_cursor)
+ivi_shell_seat_create(struct weston_seat *seat, bool disable_cursor)
{
struct ivi_shell_seat *shseat;
}
shseat->seat = seat;
- shseat->hide_cursor = hide_cursor;
+ shseat->disable_cursor = disable_cursor;
shseat->new_caps_sent = false;
shseat->seat_destroy_listener.notify = ivi_shell_seat_handle_destroy;
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);
}
/*
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;