/third_party/weston/libweston-desktop/ |
D | seat.c | 42 struct weston_seat *seat; member 53 static void weston_desktop_seat_popup_grab_end(struct weston_desktop_seat *seat); 79 struct weston_desktop_seat *seat = in weston_desktop_seat_popup_grab_keyboard_cancel() local 80 wl_container_of(grab, seat, popup_grab.keyboard); in weston_desktop_seat_popup_grab_keyboard_cancel() 82 weston_desktop_seat_popup_grab_end(seat); in weston_desktop_seat_popup_grab_keyboard_cancel() 94 struct weston_desktop_seat *seat = in weston_desktop_seat_popup_grab_pointer_focus() local 95 wl_container_of(grab, seat, popup_grab.pointer); in weston_desktop_seat_popup_grab_pointer_focus() 100 view = weston_compositor_pick_view(pointer->seat->compositor, in weston_desktop_seat_popup_grab_pointer_focus() 105 wl_resource_get_client(view->surface->resource) == seat->popup_grab.client) in weston_desktop_seat_popup_grab_pointer_focus() 125 struct weston_desktop_seat *seat = in weston_desktop_seat_popup_grab_pointer_button() local [all …]
|
D | internal.h | 56 struct weston_seat *seat, 65 struct weston_seat *seat, uint32_t serial); 69 struct weston_seat *seat, uint32_t serial, 206 struct weston_desktop_seat *seat, 210 struct weston_desktop_seat *seat); 215 weston_desktop_seat_popup_grab_get_topmost_surface(struct weston_desktop_seat *seat); 217 weston_desktop_seat_popup_grab_start(struct weston_desktop_seat *seat, 220 weston_desktop_seat_popup_grab_add_surface(struct weston_desktop_seat *seat, 223 weston_desktop_seat_popup_grab_remove_surface(struct weston_desktop_seat *seat,
|
/third_party/libinput/src/ |
D | path-seat.c | 55 struct libinput_seat *seat = device->base.seat; in path_disable_device() local 59 &seat->devices_list, base.link) { in path_disable_device() 72 struct path_seat *seat, *tmp; in path_input_disable() local 75 list_for_each_safe(seat, tmp, &input->base.seat_list, base.link) { in path_input_disable() 76 libinput_seat_ref(&seat->base); in path_input_disable() 78 &seat->base.devices_list, base.link) in path_input_disable() 80 libinput_seat_unref(&seat->base); in path_input_disable() 85 path_seat_destroy(struct libinput_seat *seat) in path_seat_destroy() argument 87 struct path_seat *pseat = (struct path_seat*)seat; in path_seat_destroy() 96 struct path_seat *seat; in path_seat_create() local [all …]
|
D | udev-seat.c | 84 struct udev_seat *seat; in device_added() local 105 seat = udev_seat_get_named(input, seat_name); in device_added() 111 if (filter_duplicates(seat, udev_device)) in device_added() 114 if (seat) in device_added() 115 libinput_seat_ref(&seat->base); in device_added() 117 seat = udev_seat_create(input, device_seat, seat_name); in device_added() 118 if (!seat) in device_added() 122 device = evdev_device_create(&seat->base, udev_device); in device_added() 123 libinput_seat_unref(&seat->base); in device_added() 151 struct udev_seat *seat; in device_removed() local [all …]
|
/third_party/weston/libweston/ |
D | libinput-seat.c | 60 udev_seat_destroy(struct udev_seat *seat); 108 struct weston_seat *seat; in device_added() local 118 seat = &udev_seat->base; in device_added() 119 device = evdev_device_create_l(libinput_device, seat); in device_added() 126 udev_seat = (struct udev_seat *) seat; in device_added() 129 pointer = weston_seat_get_pointer(seat); in device_added() 130 if (seat->output && pointer) in device_added() 148 weston_seat_repick(seat); in device_added() 161 udev_seat_remove_devices(struct udev_seat *seat) in udev_seat_remove_devices() argument 165 wl_list_for_each_safe(device, next, &seat->devices_list, link) { in udev_seat_remove_devices() [all …]
|
D | input.c | 198 return device->aggregate->seat->compositor->touch_mode; in weston_touch_device_get_mode() 359 weston_seat_repick(struct weston_seat *seat) in weston_seat_repick() argument 361 const struct weston_pointer *pointer = weston_seat_get_pointer(seat); in weston_seat_repick() 465 view = weston_compositor_pick_view(pointer->seat->compositor, in default_grab_pointer_focus() 600 struct wl_display *display = pointer->seat->compositor->wl_display; in weston_pointer_send_button() 626 struct weston_compositor *compositor = pointer->seat->compositor; in default_grab_pointer_button() 820 struct wl_display *display = touch->seat->compositor->wl_display; in weston_touch_send_down() 867 struct wl_display *display = touch->seat->compositor->wl_display; in weston_touch_send_up() 1014 struct wl_display *display = keyboard->seat->compositor->wl_display; in weston_keyboard_send_key() 1130 weston_seat_get_pointer(keyboard->seat); in weston_keyboard_send_modifiers() [all …]
|
D | data-device.c | 149 if (offer->source->seat && in data_offer_choose_action() 234 if (offer->source->seat || in data_offer_finish() 392 if (source->seat) { in data_source_set_actions() 501 struct weston_seat *seat, in weston_drag_set_focus() argument 506 struct wl_display *display = seat->compositor->wl_display; in weston_drag_set_focus() 538 resource = wl_resource_find_for_client(&seat->drag_resource_list, in weston_drag_set_focus() 579 view = weston_compositor_pick_view(pointer->seat->compositor, in drag_grab_focus() 583 weston_drag_set_focus(&drag->base, pointer->seat, view, sx, sy); in drag_grab_focus() 619 struct weston_seat *seat) in data_device_end_drag_grab() argument 632 weston_drag_set_focus(drag, seat, NULL, 0, 0); in data_device_end_drag_grab() [all …]
|
D | backend.h | 176 notify_axis(struct weston_seat *seat, const struct timespec *time, 179 notify_axis_source(struct weston_seat *seat, uint32_t source); 182 notify_button(struct weston_seat *seat, const struct timespec *time, 186 notify_key(struct weston_seat *seat, const struct timespec *time, uint32_t key, 190 notify_keyboard_focus_in(struct weston_seat *seat, struct wl_array *keys, 193 notify_keyboard_focus_out(struct weston_seat *seat); 196 notify_motion(struct weston_seat *seat, const struct timespec *time, 199 notify_motion_absolute(struct weston_seat *seat, const struct timespec *time, 202 notify_modifiers(struct weston_seat *seat, uint32_t serial); 205 notify_pointer_frame(struct weston_seat *seat); [all …]
|
D | libweston-internal.h | 176 clipboard_create(struct weston_seat *seat); 179 weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec, 183 weston_seat_repick(struct weston_seat *seat); 186 weston_seat_release(struct weston_seat *seat); 189 weston_seat_send_selection(struct weston_seat *seat, struct wl_client *client); 192 weston_seat_init_pointer(struct weston_seat *seat); 195 weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap); 198 weston_seat_init_touch(struct weston_seat *seat); 201 weston_seat_release_keyboard(struct weston_seat *seat); 204 weston_seat_release_pointer(struct weston_seat *seat); [all …]
|
D | clipboard.c | 51 struct weston_seat *seat; member 141 struct wl_display *display = clipboard->seat->compositor->wl_display; in clipboard_source_create() 219 struct weston_seat *seat = source->clipboard->seat; in clipboard_client_create() local 222 wl_display_get_event_loop(seat->compositor->wl_display); in clipboard_client_create() 240 struct weston_seat *seat = data; in clipboard_set_selection() local 241 struct weston_data_source *source = seat->selection_data_source; in clipboard_set_selection() 247 weston_seat_set_selection(seat, in clipboard_set_selection() 270 seat->selection_serial, p[0]); in clipboard_set_selection() 290 clipboard_create(struct weston_seat *seat) in clipboard_create() argument 298 clipboard->seat = seat; in clipboard_create() [all …]
|
D | libinput-device.c | 85 notify_key(device->seat, &time, in handle_keyboard_key() 115 notify_motion(device->seat, &time, &event); in handle_pointer_motion() 146 notify_motion_absolute(device->seat, &time, x, y); in handle_pointer_motion_absolute() 177 notify_button(device->seat, &time, in handle_pointer_button() 273 notify_axis_source(device->seat, wl_axis_source); in handle_pointer_axis() 288 notify_axis(device->seat, &time, &weston_event); in handle_pointer_axis() 301 notify_axis(device->seat, &time, &weston_event); in handle_pointer_axis() 407 touch_device = weston_touch_create_touch_device(device->seat->touch_state, in create_touch_device() 563 notify_pointer_frame(device->seat); in evdev_device_process_event_l() 708 struct weston_seat *seat) in evdev_device_create_l() argument [all …]
|
D | zoom.c | 57 output->zoom.seat = NULL; in weston_zoom_frame_z() 127 struct weston_seat *seat = output->zoom.seat; in weston_output_update_zoom() local 128 struct weston_pointer *pointer = weston_seat_get_pointer(seat); in weston_output_update_zoom() 155 struct weston_seat *seat) in weston_output_activate_zoom() argument 157 struct weston_pointer *pointer = weston_seat_get_pointer(seat); in weston_output_activate_zoom() 163 output->zoom.seat = seat; in weston_output_activate_zoom() 173 output->zoom.seat = NULL; in weston_output_init_zoom()
|
/third_party/libinput/quirks/ |
D | 30-vendor-madcatz.quirks | 7 # event21 POINTER_BUTTON +2.35s BTN_BACK (278) pressed, seat count: 1 8 # event21 POINTER_BUTTON +3.08s BTN_BACK (278) released, seat count: 0 9 # event21 POINTER_BUTTON +3.08s BTN_TASK (279) pressed, seat count: 1 10 # event21 POINTER_BUTTON +6.69s BTN_FORWARD (277) pressed, seat count: 1 11 # event21 POINTER_BUTTON +6.69s BTN_TASK (279) released, seat count: 0 12 # event21 POINTER_BUTTON +7.32s BTN_FORWARD (277) released, seat count: 0 13 # event21 POINTER_BUTTON +7.32s BTN_BACK (278) pressed, seat count: 1 14 # event21 POINTER_BUTTON +7.84s BTN_BACK (278) released, seat count: 0 15 # event21 POINTER_BUTTON +7.84s BTN_TASK (279) pressed, seat count: 1 27 # event8 POINTER_BUTTON +0.488s ??? (280) pressed, seat count: 1 [all …]
|
/third_party/weston/compositor/ |
D | screen-share.c | 93 struct wl_seat *seat; member 128 struct ss_seat *seat = data; in ss_seat_handle_pointer_enter() local 133 notify_pointer_focus(&seat->base, NULL, 0, 0); in ss_seat_handle_pointer_enter() 140 struct ss_seat *seat = data; in ss_seat_handle_pointer_leave() local 142 notify_pointer_focus(&seat->base, NULL, 0, 0); in ss_seat_handle_pointer_leave() 149 struct ss_seat *seat = data; in ss_seat_handle_motion() local 157 notify_motion_absolute(&seat->base, &ts, in ss_seat_handle_motion() 159 notify_pointer_frame(&seat->base); in ss_seat_handle_motion() 167 struct ss_seat *seat = data; in ss_seat_handle_button() local 172 notify_button(&seat->base, &ts, button, state); in ss_seat_handle_button() [all …]
|
D | text-backend.c | 78 struct weston_seat *seat; member 123 input_method_init_seat(struct weston_seat *seat); 191 struct wl_resource *seat, in text_input_activate() argument 195 struct weston_seat *weston_seat = wl_resource_get_user_data(seat); in text_input_activate() 240 struct wl_resource *seat) in text_input_deactivate() argument 242 struct weston_seat *weston_seat = wl_resource_get_user_data(seat); in text_input_deactivate() 675 struct weston_seat *seat = context->input_method->seat; in input_method_context_grab_keyboard() local 676 struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); in input_method_context_grab_keyboard() 702 struct weston_seat *seat = context->input_method->seat; in input_method_context_key() local 703 struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); in input_method_context_key() [all …]
|
/third_party/weston/clients/ |
D | simple-touch.c | 41 struct seat { struct 43 struct wl_seat *seat; argument 211 struct seat *seat = data; in seat_handle_capabilities() local 212 struct touch *touch = seat->touch; in seat_handle_capabilities() 214 if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !seat->wl_touch) { in seat_handle_capabilities() 215 seat->wl_touch = wl_seat_get_touch(wl_seat); in seat_handle_capabilities() 216 wl_touch_set_user_data(seat->wl_touch, touch); in seat_handle_capabilities() 217 wl_touch_add_listener(seat->wl_touch, &touch_listener, touch); in seat_handle_capabilities() 218 } else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && seat->wl_touch) { in seat_handle_capabilities() 219 wl_touch_destroy(seat->wl_touch); in seat_handle_capabilities() [all …]
|
D | weston-info.c | 121 struct wl_seat *seat; member 185 struct zwp_tablet_seat_v2 *seat; member 441 struct seat_info *seat = data; in print_seat_info() local 445 printf("\tname: %s\n", seat->name); in print_seat_info() 448 if (seat->capabilities & WL_SEAT_CAPABILITY_POINTER) in print_seat_info() 450 if (seat->capabilities & WL_SEAT_CAPABILITY_KEYBOARD) in print_seat_info() 452 if (seat->capabilities & WL_SEAT_CAPABILITY_TOUCH) in print_seat_info() 457 if (seat->repeat_rate > 0) in print_seat_info() 458 printf("\tkeyboard repeat rate: %d\n", seat->repeat_rate); in print_seat_info() 459 if (seat->repeat_delay > 0) in print_seat_info() [all …]
|
/third_party/libinput/doc/user/ |
D | seats.rst | 7 Each device in libinput is assigned to one seat. 8 A seat has two identifiers, the physical name and the logical name. The 10 physical seat has access to. The logical seat name is the seat name for a 13 itself to a single logical seat, leaving a second compositor to manage 26 The devices "Foo", "Bar" and "Spam" share the same physical seat and are 28 same logical seat. The device "Egg" is not available in the libinput context 29 associated with the physical seat 0. 32 **libinput_seat** comprises both physical seat and logical seat. From a 43 The effect of seat assignment 48 semantically related. This means for devices within the same logical seat: [all …]
|
/third_party/wayland-ivi-extension/ivi-input-modules/ivi-input-controller/src/ |
D | ivi-input-controller.c | 180 send_input_acceptance(struct input_context *ctx, uint32_t surface_id, const char *seat, int32_t acc… in send_input_acceptance() argument 184 ivi_input_send_input_acceptance(resource, surface_id, seat, in send_input_acceptance() 252 struct weston_seat *seat = ctx_seat->west_seat; in input_ctrl_kbd_snd_event_resource() local 259 seat->compositor->kb_repeat_rate, in input_ctrl_kbd_snd_event_resource() 260 seat->compositor->kb_repeat_delay); in input_ctrl_kbd_snd_event_resource() 420 kbd_data.serial = wl_display_next_serial(grab->keyboard->seat-> in keyboard_grab_key() 549 view = weston_compositor_pick_view(pointer->seat->compositor, in input_ctrl_ptr_set_west_focus() 635 struct seat_ctx *seat = wl_container_of(grab, seat, pointer_grab); in pointer_grab_focus() local 640 struct input_context *ctx = seat->input_ctx; in pointer_grab_focus() 646 if (seat->forced_ptr_focus_surf != NULL) { in pointer_grab_focus() [all …]
|
/third_party/weston/tests/ |
D | weston-test.c | 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 [all …]
|
/third_party/weston/desktop-shell/ |
D | exposay.c | 60 struct weston_seat *seat); 166 activate(shell, view, shell->exposay.seat, in exposay_highlight_surface() 327 shell->exposay.seat); in exposay_layout() 414 struct weston_seat *seat = grab->pointer->seat; in exposay_button() local 428 exposay_set_state(shell, EXPOSAY_TARGET_SWITCH, seat); in exposay_button() 456 exposay_set_state(shell, EXPOSAY_TARGET_CANCEL, shell->exposay.seat); in exposay_pointer_grab_cancel() 490 struct weston_seat *seat = grab->keyboard->seat; in exposay_key() local 500 exposay_set_state(shell, EXPOSAY_TARGET_CANCEL, seat); in exposay_key() 503 exposay_set_state(shell, EXPOSAY_TARGET_SWITCH, seat); in exposay_key() 548 struct weston_seat *seat = (struct weston_seat *) grab->keyboard->seat; in exposay_modifier() local [all …]
|
D | shell.c | 52 struct weston_seat *seat; member 184 struct weston_seat *seat; member 210 get_shell_seat(struct weston_seat *seat); 276 weston_seat_break_desktop_grabs(pointer->seat); in shell_grab_start() 399 weston_seat_break_desktop_grabs(touch->seat); in shell_touch_grab_start() 674 activate(state->shell, next, state->seat, in focus_state_surface_destroy() 693 focus_state_create(struct desktop_shell *shell, struct weston_seat *seat, in focus_state_create() argument 705 state->seat = seat; in focus_state_create() 710 wl_signal_add(&seat->destroy_signal, in focus_state_create() 718 ensure_focus_state(struct desktop_shell *shell, struct weston_seat *seat) in ensure_focus_state() argument [all …]
|
/third_party/wayland_standard/tests/ |
D | display-test.c | 130 struct wl_seat *seat; member 147 hi->seat = old_registry_bind(registry, id, in registry_handle_globals() 150 hi->seat = wl_registry_bind(registry, id, in registry_handle_globals() 152 assert(hi->seat); in registry_handle_globals() 168 hi->seat = NULL; in client_get_seat_with_info() 171 assert(hi->seat); in client_get_seat_with_info() 175 return hi->seat; in client_get_seat_with_info() 258 struct wl_seat *seat = client_get_seat(c); in post_error_main() local 265 check_for_error(c, (struct wl_proxy *) seat); in post_error_main() 269 wl_proxy_destroy((struct wl_proxy *) seat); in post_error_main() [all …]
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmInput/src/ |
D | ilm_input.c | 38 struct seat_context *seat; in ilm_setInputAcceptanceOn() local 63 wl_list_for_each(seat, &ctx->wl.list_seat, link) { in ilm_setInputAcceptanceOn() 64 if (strcmp(seat->seat_name, seats[i]) == 0) in ilm_setInputAcceptanceOn() 179 struct seat_context *seat; in ilm_getInputDevices() local 198 wl_list_for_each(seat, &ctx->wl.list_seat, link) { in ilm_getInputDevices() 201 if ((seat->capabilities & bitmask) == 0) in ilm_getInputDevices() 204 (*seats)[seats_added] = strdup(seat->seat_name); in ilm_getInputDevices() 208 seat->seat_name); in ilm_getInputDevices() 229 struct seat_context *seat; in ilm_getInputDeviceCapabilities() local 237 wl_list_for_each(seat, &ctx->wl.list_seat, link) { in ilm_getInputDeviceCapabilities() [all …]
|
/third_party/weston/kiosk-shell/ |
D | kiosk-shell.c | 54 get_kiosk_shell_seat(struct weston_seat *seat) in get_kiosk_shell_seat() argument 58 listener = wl_signal_get(&seat->destroy_signal, in get_kiosk_shell_seat() 323 struct kiosk_shell_seat *shseat = get_kiosk_shell_seat(keyboard->seat); in kiosk_shell_seat_handle_keyboard_focus() 365 keyboard = weston_seat_get_keyboard(shseat->seat); in kiosk_shell_seat_handle_caps_changed() 378 kiosk_shell_seat_create(struct weston_seat *seat) in kiosk_shell_seat_create() argument 388 shseat->seat = seat; in kiosk_shell_seat_create() 391 wl_signal_add(&seat->destroy_signal, &shseat->seat_destroy_listener); in kiosk_shell_seat_create() 397 wl_signal_add(&seat->updated_caps_signal, in kiosk_shell_seat_create() 549 struct weston_seat *seat; in desktop_surface_added() local 557 wl_list_for_each(seat, &shell->compositor->seat_list, link) in desktop_surface_added() [all …]
|