• Home
  • Raw
  • Download

Lines Matching refs:seat

59 	struct weston_seat seat;  member
87 test->seat.touch_state, buf, NULL, NULL); in touch_device_add()
110 weston_seat_init(&test->seat, test->compositor, "test-seat"); in test_seat_init()
114 weston_seat_init_pointer(&test->seat); in test_seat_init()
115 if (weston_seat_init_keyboard(&test->seat, NULL) < 0) in test_seat_init()
117 weston_seat_init_touch(&test->seat); in test_seat_init()
132 weston_seat_release(&test->seat); in test_seat_release()
133 memset(&test->seat, 0, sizeof test->seat); in test_seat_release()
139 return &test->seat; in get_seat()
145 struct weston_seat *seat = get_seat(test); in notify_pointer_position() local
146 struct weston_pointer *pointer = weston_seat_get_pointer(seat); in notify_pointer_position()
210 struct weston_seat *seat = get_seat(test); in move_pointer() local
211 struct weston_pointer *pointer = weston_seat_get_pointer(seat); in move_pointer()
223 notify_motion(seat, &time, &event); in move_pointer()
236 struct weston_seat *seat = get_seat(test); in send_button() local
240 notify_button(seat, &time, button, state); in send_button()
249 struct weston_seat *seat = get_seat(test); in send_axis() local
259 notify_axis(seat, &time, &axis_event); in send_axis()
269 struct weston_seat *seat; in activate_surface() local
272 seat = get_seat(test); in activate_surface()
273 keyboard = weston_seat_get_keyboard(seat); in activate_surface()
275 weston_seat_set_keyboard_focus(seat, surface); in activate_surface()
276 notify_keyboard_focus_in(seat, &keyboard->keys, in activate_surface()
280 notify_keyboard_focus_out(seat); in activate_surface()
281 weston_seat_set_keyboard_focus(seat, surface); in activate_surface()
291 struct weston_seat *seat = get_seat(test); in send_key() local
296 notify_key(seat, &time, key, state, STATE_UPDATE_AUTOMATIC); in send_key()
304 struct weston_seat *seat = get_seat(test); in device_release() local
307 weston_seat_release_pointer(seat); in device_release()
309 weston_seat_release_keyboard(seat); in device_release()
312 weston_seat_release_touch(seat); in device_release()
325 struct weston_seat *seat = get_seat(test); in device_add() local
328 weston_seat_init_pointer(seat); in device_add()
330 weston_seat_init_keyboard(seat, NULL); in device_add()
332 weston_seat_init_touch(seat); in device_add()