Home
last modified time | relevance | path

Searched refs:wl_signal_add (Results 1 – 25 of 241) sorted by relevance

12345678910

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wayland/src/tests/
H A Dsignal-test.c64 wl_signal_add(&signal, &l1); in TEST()
65 wl_signal_add(&signal, &l2); in TEST()
66 wl_signal_add(&signal, &l3); in TEST()
67 wl_signal_add(&signal, &l4); in TEST()
90 wl_signal_add(&signal, &l1); in TEST()
109 wl_signal_add(&signal, &l1); in TEST()
110 wl_signal_add(&signal, &l2); in TEST()
111 wl_signal_add(&signal, &l3); in TEST()
/dports/x11-wm/sway/sway-1.5.1/sway/
H A Dserver.c65 wl_signal_add(&server->compositor->events.new_surface, in server_init()
77 wl_signal_add(&root->output_layout->events.change, in server_init()
87 wl_signal_add(&server->layer_shell->events.new_surface, in server_init()
92 wl_signal_add(&server->xdg_shell->events.new_surface, in server_init()
110 wl_signal_add( in server_init()
122 wl_signal_add(&server->pointer_constraints->events.new_constraint, in server_init()
131 wl_signal_add(&server->output_manager_v1->events.apply, in server_init()
134 wl_signal_add(&server->output_manager_v1->events.test, in server_init()
141 wl_signal_add(&server->output_power_manager_v1->events.set_mode, in server_init()
207 wl_signal_add(&server->xwayland.wlr_xwayland->events.new_surface, in server_start()
[all …]
/dports/x11-toolkits/wlroots/wlroots-0.12.0/examples/
H A Dpointer.c258 wl_signal_add(&output->events.frame, &sample_output->frame); in new_output_notify()
260 wl_signal_add(&output->events.destroy, &sample_output->destroy); in new_output_notify()
293 wl_signal_add(&device->events.destroy, &keyboard->destroy); in new_input_notify()
295 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in new_input_notify()
345 wl_signal_add(&state.cursor->events.motion, &state.cursor_motion); in main()
348 wl_signal_add(&state.cursor->events.motion_absolute, in main()
355 wl_signal_add(&state.cursor->events.axis, &state.cursor_axis); in main()
359 wl_signal_add(&state.cursor->events.touch_up, &state.touch_up); in main()
371 wl_signal_add(&wlr->events.new_input, &state.new_input); in main()
374 wl_signal_add(&wlr->events.new_output, &state.new_output); in main()
[all …]
H A Dtablet.c247 wl_signal_add(&output->events.frame, &sample_output->frame); in new_output_notify()
249 wl_signal_add(&output->events.destroy, &sample_output->destroy); in new_output_notify()
286 wl_signal_add(&device->events.destroy, &keyboard->destroy); in new_input_notify()
288 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in new_input_notify()
316 wl_signal_add(&device->events.destroy, &pstate->destroy); in new_input_notify()
320 wl_signal_add(&device->tablet_pad->events.ring, &pstate->ring); in new_input_notify()
333 wl_signal_add(&device->events.destroy, &tstate->destroy); in new_input_notify()
335 wl_signal_add(&device->tablet->events.axis, &tstate->axis); in new_input_notify()
339 wl_signal_add(&device->tablet->events.button, &tstate->button); in new_input_notify()
363 wl_signal_add(&wlr->events.new_output, &state.new_output); in main()
[all …]
H A Dtouch.c160 wl_signal_add(&output->events.frame, &sample_output->frame); in new_output_notify()
162 wl_signal_add(&output->events.destroy, &sample_output->destroy); in new_output_notify()
199 wl_signal_add(&device->events.destroy, &keyboard->destroy); in new_input_notify()
201 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in new_input_notify()
229 wl_signal_add(&device->events.destroy, &tstate->destroy); in new_input_notify()
231 wl_signal_add(&device->touch->events.down, &tstate->down); in new_input_notify()
233 wl_signal_add(&device->touch->events.motion, &tstate->motion); in new_input_notify()
235 wl_signal_add(&device->touch->events.up, &tstate->up); in new_input_notify()
258 wl_signal_add(&wlr->events.new_output, &state.new_output); in main()
260 wl_signal_add(&wlr->events.new_input, &state.new_input); in main()
H A Dsimple.c95 wl_signal_add(&output->events.frame, &sample_output->frame); in new_output_notify()
97 wl_signal_add(&output->events.destroy, &sample_output->destroy); in new_output_notify()
136 wl_signal_add(&device->events.destroy, &keyboard->destroy); in new_input_notify()
138 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in new_input_notify()
179 wl_signal_add(&backend->events.new_output, &state.new_output); in main()
181 wl_signal_add(&backend->events.new_input, &state.new_input); in main()
H A Dmulti-pointer.c153 wl_signal_add(&output->events.frame, &sample_output->frame); in new_output_notify()
155 wl_signal_add(&output->events.destroy, &sample_output->destroy); in new_output_notify()
208 wl_signal_add(&device->events.destroy, &keyboard->destroy); in new_input_notify()
210 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in new_input_notify()
244 wl_signal_add(&cursor->cursor->events.motion, &cursor->cursor_motion); in new_input_notify()
246 wl_signal_add(&cursor->cursor->events.motion_absolute, in new_input_notify()
283 wl_signal_add(&wlr->events.new_output, &state.new_output); in main()
285 wl_signal_add(&wlr->events.new_input, &state.new_input); in main()
/dports/x11-wm/cage/cage-0.1.2.1/
H A Dxdg_shell.c126 wl_signal_add(&wlr_popup->base->events.destroy, &popup->destroy); in xdg_popup_create()
128 wl_signal_add(&wlr_popup->base->events.map, &popup->map); in xdg_popup_create()
130 wl_signal_add(&wlr_popup->base->events.unmap, &popup->unmap); in xdg_popup_create()
132 wl_signal_add(&wlr_popup->base->events.new_popup, &popup->new_popup); in xdg_popup_create()
276 wl_signal_add(&xdg_shell_view->xdg_surface->surface->events.commit, &xdg_shell_view->commit); in handle_xdg_shell_surface_map()
332 wl_signal_add(&xdg_surface->events.map, &xdg_shell_view->map); in handle_xdg_shell_surface_new()
334 wl_signal_add(&xdg_surface->events.unmap, &xdg_shell_view->unmap); in handle_xdg_shell_surface_new()
336 wl_signal_add(&xdg_surface->events.destroy, &xdg_shell_view->destroy); in handle_xdg_shell_surface_new()
340 wl_signal_add(&xdg_surface->events.new_popup, &xdg_shell_view->new_popup); in handle_xdg_shell_surface_new()
358 wl_signal_add(&wlr_decoration->events.destroy, &xdg_decoration->destroy); in handle_xdg_toplevel_decoration()
[all …]
H A Dseat.c178 wl_signal_add(&touch->device->events.destroy, &touch->destroy); in handle_new_touch()
212 wl_signal_add(&device->events.destroy, &pointer->destroy); in handle_new_pointer()
697 wl_signal_add(&wlr_drag_icon->events.destroy, &drag_icon->destroy); in handle_start_drag()
760 wl_signal_add(&seat->seat->events.destroy, &seat->destroy); in seat_create()
783 wl_signal_add(&seat->cursor->events.motion, &seat->cursor_motion); in seat_create()
787 wl_signal_add(&seat->cursor->events.button, &seat->cursor_button); in seat_create()
789 wl_signal_add(&seat->cursor->events.axis, &seat->cursor_axis); in seat_create()
791 wl_signal_add(&seat->cursor->events.frame, &seat->cursor_frame); in seat_create()
796 wl_signal_add(&seat->cursor->events.touch_up, &seat->touch_up); in seat_create()
813 wl_signal_add(&backend->events.new_input, &seat->new_input); in seat_create()
[all …]
H A Dxwayland.c152 wl_signal_add(&xwayland_view->xwayland_surface->surface->events.commit, &xwayland_view->commit); in handle_xwayland_surface_map()
204 wl_signal_add(&xwayland_surface->events.map, &xwayland_view->map); in handle_xwayland_surface_new()
206 wl_signal_add(&xwayland_surface->events.unmap, &xwayland_view->unmap); in handle_xwayland_surface_new()
208 wl_signal_add(&xwayland_surface->events.destroy, &xwayland_view->destroy); in handle_xwayland_surface_new()
210 wl_signal_add(&xwayland_surface->events.request_fullscreen, &xwayland_view->request_fullscreen); in handle_xwayland_surface_new()
/dports/x11-wm/sway/sway-1.5.1/sway/desktop/
H A Dxwayland.c143 wl_signal_add(&xsurface->events.request_configure, in create_unmanaged()
146 wl_signal_add(&xsurface->events.map, &surface->map); in create_unmanaged()
148 wl_signal_add(&xsurface->events.unmap, &surface->unmap); in create_unmanaged()
150 wl_signal_add(&xsurface->events.destroy, &surface->destroy); in create_unmanaged()
648 wl_signal_add(&xsurface->events.request_configure, in handle_xwayland_surface()
652 wl_signal_add(&xsurface->events.request_fullscreen, in handle_xwayland_surface()
656 wl_signal_add(&xsurface->events.request_activate, in handle_xwayland_surface()
660 wl_signal_add(&xsurface->events.request_move, in handle_xwayland_surface()
664 wl_signal_add(&xsurface->events.request_resize, in handle_xwayland_surface()
677 wl_signal_add(&xsurface->events.set_window_type, in handle_xwayland_surface()
[all …]
H A Dxdg_shell.c99 wl_signal_add(&xdg_surface->events.new_popup, &popup->new_popup); in popup_create()
101 wl_signal_add(&xdg_surface->events.destroy, &popup->destroy); in popup_create()
104 wl_signal_add(&xdg_surface->events.map, &popup->child.surface_map); in popup_create()
448 wl_signal_add(&xdg_surface->surface->events.commit, in handle_map()
452 wl_signal_add(&xdg_surface->events.new_popup, in handle_map()
460 wl_signal_add(&xdg_surface->toplevel->events.request_maximize, in handle_map()
464 wl_signal_add(&xdg_surface->toplevel->events.request_move, in handle_map()
468 wl_signal_add(&xdg_surface->toplevel->events.request_resize, in handle_map()
472 wl_signal_add(&xdg_surface->toplevel->events.set_title, in handle_map()
476 wl_signal_add(&xdg_surface->toplevel->events.set_app_id, in handle_map()
[all …]
/dports/x11-toolkits/wlroots/wlroots-0.12.0/types/
H A Dwlr_cursor.c613 wl_signal_add(&device->events.destroy, &c_device->destroy); in cursor_device_create()
620 wl_signal_add(&device->pointer->events.motion_absolute, in cursor_device_create()
627 wl_signal_add(&device->pointer->events.axis, &c_device->axis); in cursor_device_create()
657 wl_signal_add(&device->touch->events.up, &c_device->touch_up); in cursor_device_create()
663 wl_signal_add(&device->tablet->events.tip, in cursor_device_create()
667 wl_signal_add(&device->tablet->events.proximity, in cursor_device_create()
671 wl_signal_add(&device->tablet->events.axis, in cursor_device_create()
675 wl_signal_add(&device->tablet->events.button, in cursor_device_create()
754 wl_signal_add(&l_output->events.destroy, in layout_add()
792 wl_signal_add(&l->events.add, &cur->state->layout_add); in wlr_cursor_attach_output_layout()
[all …]
H A Dwlr_output_damage.c106 wl_signal_add(&output->events.destroy, &output_damage->output_destroy); in wlr_output_damage_create()
108 wl_signal_add(&output->events.mode, &output_damage->output_mode); in wlr_output_damage_create()
110 wl_signal_add(&output->events.transform, &output_damage->output_transform); in wlr_output_damage_create()
112 wl_signal_add(&output->events.scale, &output_damage->output_scale); in wlr_output_damage_create()
114 wl_signal_add(&output->events.needs_frame, &output_damage->output_needs_frame); in wlr_output_damage_create()
116 wl_signal_add(&output->events.damage, &output_damage->output_damage); in wlr_output_damage_create()
118 wl_signal_add(&output->events.frame, &output_damage->output_frame); in wlr_output_damage_create()
120 wl_signal_add(&output->events.commit, &output_damage->output_commit); in wlr_output_damage_create()
/dports/x11-wm/phoc/phoc-f26fa0123742ba95d303ad552fc1f8d2d0117288/src/
H A Dxdg_shell.c125 wl_signal_add(&wlr_popup->base->events.map, &popup->map); in popup_create()
127 wl_signal_add(&wlr_popup->base->events.unmap, &popup->unmap); in popup_create()
532 wl_signal_add(&surface->surface->events.commit, in handle_xdg_shell_surface()
537 wl_signal_add(&surface->events.map, &roots_surface->map); in handle_xdg_shell_surface()
541 wl_signal_add(&surface->toplevel->events.request_move, in handle_xdg_shell_surface()
544 wl_signal_add(&surface->toplevel->events.request_resize, in handle_xdg_shell_surface()
547 wl_signal_add(&surface->toplevel->events.request_maximize, in handle_xdg_shell_surface()
550 wl_signal_add(&surface->toplevel->events.request_fullscreen, in handle_xdg_shell_surface()
555 wl_signal_add(&surface->toplevel->events.set_app_id, in handle_xdg_shell_surface()
621 wl_signal_add(&wlr_decoration->events.request_mode, in handle_xdg_toplevel_decoration()
[all …]
H A Dseat.c545 wl_signal_add(&wlr_cursor->events.motion_absolute, in roots_seat_init_cursor()
582 wl_signal_add(&wlr_cursor->events.touch_motion, in roots_seat_init_cursor()
586 wl_signal_add(&wlr_cursor->events.tablet_tool_axis, in roots_seat_init_cursor()
599 wl_signal_add(&seat->seat->events.request_set_cursor, in roots_seat_init_cursor()
689 wl_signal_add(&wlr_drag_icon->events.unmap, &icon->unmap); in roots_seat_handle_start_drag()
691 wl_signal_add(&wlr_drag_icon->events.map, &icon->map); in roots_seat_handle_start_drag()
818 wl_signal_add(&seat->seat->events.request_set_selection, in roots_seat_create()
825 wl_signal_add(&seat->seat->events.request_start_drag, in roots_seat_create()
872 wl_signal_add(&keyboard->device->keyboard->events.key, in seat_add_keyboard()
1075 wl_signal_add(&tablet_pad->device->events.destroy, in seat_add_tablet_pad()
[all …]
H A Dtext_input.c76 wl_signal_add(&surface->events.destroy, in text_input_set_pending_focused_surface()
226 wl_signal_add(&text_input->events.enable, &input->enable); in roots_text_input_create()
229 wl_signal_add(&text_input->events.commit, &input->commit); in roots_text_input_create()
232 wl_signal_add(&text_input->events.disable, &input->disable); in roots_text_input_create()
235 wl_signal_add(&text_input->events.destroy, &input->destroy); in roots_text_input_create()
277 wl_signal_add(&relay->input_method->events.commit, in relay_handle_input_method()
280 wl_signal_add(&relay->input_method->events.destroy, in relay_handle_input_method()
299 wl_signal_add(&server->desktop->text_input->events.text_input, in roots_input_method_relay_init()
303 wl_signal_add( in roots_input_method_relay_init()
H A Ddesktop.c535 wl_signal_add(&self->xdg_shell->events.new_surface,
540 wl_signal_add(&self->layer_shell->events.new_surface,
577 wl_signal_add(&self->xwayland->events.new_surface,
581 wl_signal_add(&self->xwayland->events.ready,
619 wl_signal_add(&self->input_inhibit->events.activate,
622 wl_signal_add(&self->input_inhibit->events.deactivate,
639 wl_signal_add(&self->virtual_pointer->events.new_virtual_pointer,
654 wl_signal_add(&self->pointer_constraints->events.new_constraint,
669 wl_signal_add(&self->output_manager_v1->events.apply,
672 wl_signal_add(&self->output_manager_v1->events.test,
[all …]
H A Dxwayland.c332 wl_signal_add(&surface->surface->events.commit, in handle_map()
390 wl_signal_add(&surface->events.destroy, &roots_surface->destroy); in handle_xwayland_surface()
392 wl_signal_add(&surface->events.request_configure, in handle_xwayland_surface()
395 wl_signal_add(&surface->events.map, &roots_surface->map); in handle_xwayland_surface()
397 wl_signal_add(&surface->events.unmap, &roots_surface->unmap); in handle_xwayland_surface()
399 wl_signal_add(&surface->events.request_move, &roots_surface->request_move); in handle_xwayland_surface()
401 wl_signal_add(&surface->events.request_resize, in handle_xwayland_surface()
404 wl_signal_add(&surface->events.request_maximize, in handle_xwayland_surface()
407 wl_signal_add(&surface->events.request_fullscreen, in handle_xwayland_surface()
410 wl_signal_add(&surface->events.set_title, &roots_surface->set_title); in handle_xwayland_surface()
[all …]
H A Dlayer_shell.c562 wl_signal_add(&wlr_popup->base->events.map, &popup->map); in popup_create()
564 wl_signal_add(&wlr_popup->base->events.unmap, &popup->unmap); in popup_create()
566 wl_signal_add(&wlr_popup->base->events.destroy, &popup->destroy); in popup_create()
570 wl_signal_add(&wlr_popup->base->events.new_popup, &popup->new_popup); in popup_create()
679 wl_signal_add(&wlr_subsurface->events.map, &subsurface->map); in layer_subsurface_create()
681 wl_signal_add(&wlr_subsurface->events.unmap, &subsurface->unmap); in layer_subsurface_create()
683 wl_signal_add(&wlr_subsurface->events.destroy, &subsurface->destroy); in layer_subsurface_create()
792 wl_signal_add(&layer_surface->surface->events.commit, in handle_layer_shell_surface()
796 wl_signal_add(&layer_surface->output->events.destroy, in handle_layer_shell_surface()
802 wl_signal_add(&layer_surface->events.map, &roots_surface->map); in handle_layer_shell_surface()
[all …]
/dports/x11-wm/sway/sway-1.5.1/sway/input/
H A Dtext_input.c64 wl_signal_add(&surface->events.destroy, in text_input_set_pending_focused_surface()
191 wl_signal_add(&text_input->events.enable, &input->text_input_enable); in sway_text_input_create()
194 wl_signal_add(&text_input->events.commit, &input->text_input_commit); in sway_text_input_create()
197 wl_signal_add(&text_input->events.disable, &input->text_input_disable); in sway_text_input_create()
200 wl_signal_add(&text_input->events.destroy, &input->text_input_destroy); in sway_text_input_create()
236 wl_signal_add(&relay->input_method->events.commit, in relay_handle_input_method()
239 wl_signal_add(&relay->input_method->events.destroy, in relay_handle_input_method()
257 wl_signal_add(&server.text_input->events.text_input, in sway_input_method_relay_init()
261 wl_signal_add( in sway_input_method_relay_init()
H A Dtablet.c30 wl_signal_add(&tablet->seat_device->input_device->wlr_device->events.destroy, in attach_tablet_pad()
150 wl_signal_add(&wlr_tool->events.destroy, &tool->tool_destroy); in sway_tablet_tool_configure()
153 wl_signal_add(&tool->tablet_v2_tool->events.set_cursor, in sway_tablet_tool_configure()
249 wl_signal_add(&device->tablet_pad->events.attach_tablet, in sway_configure_tablet_pad()
254 wl_signal_add(&device->tablet_pad->events.button, &tablet_pad->button); in sway_configure_tablet_pad()
258 wl_signal_add(&device->tablet_pad->events.strip, &tablet_pad->strip); in sway_configure_tablet_pad()
262 wl_signal_add(&device->tablet_pad->events.ring, &tablet_pad->ring); in sway_configure_tablet_pad()
347 wl_signal_add(&surface->events.destroy, &tablet_pad->surface_destroy); in sway_tablet_pad_notify_enter()
/dports/x11-wm/hikari/hikari-2.2.3/src/
H A Dxdg_view.c172 wl_signal_add( in map()
176 wl_signal_add(&xdg_surface->toplevel->events.request_fullscreen, in map()
180 wl_signal_add(&xdg_surface->events.new_popup, &xdg_view->new_popup); in map()
183 wl_signal_add(&xdg_view->surface->surface->events.commit, &xdg_view->commit); in map()
409 wl_signal_add(&wlr_popup->base->events.destroy, &popup->destroy); in xdg_popup_create()
412 wl_signal_add(&wlr_popup->base->events.new_popup, &popup->new_popup); in xdg_popup_create()
415 wl_signal_add(&wlr_popup->base->events.map, &popup->map); in xdg_popup_create()
418 wl_signal_add(&wlr_popup->base->events.unmap, &popup->unmap); in xdg_popup_create()
478 wl_signal_add(&xdg_surface->events.map, &xdg_view->map); in hikari_xdg_view_init()
481 wl_signal_add(&xdg_surface->events.unmap, &xdg_view->unmap); in hikari_xdg_view_init()
[all …]
H A Dcursor.c154 wl_signal_add(&wlr_cursor->events.motion_absolute, &cursor->motion_absolute); in hikari_cursor_activate()
157 wl_signal_add(&wlr_cursor->events.frame, &cursor->frame); in hikari_cursor_activate()
160 wl_signal_add(&wlr_cursor->events.motion, &cursor->motion); in hikari_cursor_activate()
163 wl_signal_add(&wlr_cursor->events.button, &cursor->button); in hikari_cursor_activate()
166 wl_signal_add(&wlr_cursor->events.axis, &cursor->axis); in hikari_cursor_activate()
169 wl_signal_add(&hikari_server.seat->events.request_set_cursor, in hikari_cursor_activate()
307 wl_signal_add(&surface->events.destroy, &cursor->surface_destroy); in request_set_cursor_handler()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/tinywl/
H A Dtinywl.c239 wl_signal_add(&device->keyboard->events.key, &keyboard->key); in server_new_keyboard()
689 wl_signal_add(&wlr_output->events.frame, &output->frame); in server_new_output()
800 wl_signal_add(&xdg_surface->events.map, &view->map); in server_new_xdg_surface()
802 wl_signal_add(&xdg_surface->events.unmap, &view->unmap); in server_new_xdg_surface()
804 wl_signal_add(&xdg_surface->events.destroy, &view->destroy); in server_new_xdg_surface()
885 wl_signal_add(&server.xdg_shell->events.new_surface, in main()
917 wl_signal_add(&server.cursor->events.motion_absolute, in main()
922 wl_signal_add(&server.cursor->events.axis, &server.cursor_axis); in main()
924 wl_signal_add(&server.cursor->events.frame, &server.cursor_frame); in main()
937 wl_signal_add(&server.seat->events.request_set_cursor, in main()
[all …]

12345678910