Lines Matching refs:xwl_seat
80 struct xwl_seat *xwl_seat; in xwl_unrealize_cursor() local
90 xorg_list_for_each_entry(xwl_seat, &xwl_screen->seat_list, link) { in xwl_unrealize_cursor()
91 if (cursor == xwl_seat->x_cursor) in xwl_unrealize_cursor()
92 xwl_seat->x_cursor = NULL; in xwl_unrealize_cursor()
126 xwl_seat_set_cursor(struct xwl_seat *xwl_seat) in xwl_seat_set_cursor() argument
128 struct xwl_cursor *xwl_cursor = &xwl_seat->cursor; in xwl_seat_set_cursor()
133 if (!xwl_seat->wl_pointer) in xwl_seat_set_cursor()
136 if (!xwl_seat->x_cursor) { in xwl_seat_set_cursor()
137 wl_pointer_set_cursor(xwl_seat->wl_pointer, in xwl_seat_set_cursor()
138 xwl_seat->pointer_enter_serial, NULL, 0, 0); in xwl_seat_set_cursor()
149 cursor = xwl_seat->x_cursor; in xwl_seat_set_cursor()
161 wl_pointer_set_cursor(xwl_seat->wl_pointer, in xwl_seat_set_cursor()
162 xwl_seat->pointer_enter_serial, in xwl_seat_set_cursor()
164 xwl_seat->x_cursor->bits->xhot, in xwl_seat_set_cursor()
165 xwl_seat->x_cursor->bits->yhot); in xwl_seat_set_cursor()
169 xwl_seat->x_cursor->bits->width, in xwl_seat_set_cursor()
170 xwl_seat->x_cursor->bits->height); in xwl_seat_set_cursor()
181 struct xwl_seat *xwl_seat = xwl_tablet_tool->seat; in xwl_tablet_tool_set_cursor() local
187 if (!xwl_seat->x_cursor) { in xwl_tablet_tool_set_cursor()
201 cursor = xwl_seat->x_cursor; in xwl_tablet_tool_set_cursor()
216 xwl_seat->x_cursor->bits->xhot, in xwl_tablet_tool_set_cursor()
217 xwl_seat->x_cursor->bits->yhot); in xwl_tablet_tool_set_cursor()
221 xwl_seat->x_cursor->bits->width, in xwl_tablet_tool_set_cursor()
222 xwl_seat->x_cursor->bits->height); in xwl_tablet_tool_set_cursor()
234 struct xwl_seat *xwl_seat; in xwl_set_cursor() local
238 xwl_seat = device->public.devicePrivate; in xwl_set_cursor()
239 if (xwl_seat == NULL) in xwl_set_cursor()
242 cursor_visibility_changed = !!xwl_seat->x_cursor ^ !!cursor; in xwl_set_cursor()
244 xwl_seat->x_cursor = cursor; in xwl_set_cursor()
247 xwl_seat_cursor_visibility_changed(xwl_seat); in xwl_set_cursor()
249 xwl_seat_set_cursor(xwl_seat); in xwl_set_cursor()
251 xorg_list_for_each_entry(xwl_tablet_tool, &xwl_seat->tablet_tools, link) { in xwl_set_cursor()