Home
last modified time | relevance | path

Searched refs:wm_base (Results 1 – 25 of 80) sorted by relevance

1234

/dports/x11/wl-clipboard/wl-clipboard-2.1.0/src/types/
H A Dshell.c63 struct xdg_wm_base *wm_base = (struct xdg_wm_base *) self->proxy; in xdg_shell_create_shell_surfacce() local
69 xdg_wm_base_get_xdg_surface(wm_base, surface); in xdg_shell_create_shell_surfacce()
77 struct xdg_wm_base *wm_base, in xdg_wm_base_ping_handler() argument
80 xdg_wm_base_pong(wm_base, serial); in xdg_wm_base_ping_handler()
88 struct xdg_wm_base *wm_base = (struct xdg_wm_base *) self->proxy; in shell_init_xdg_shell() local
89 xdg_wm_base_add_listener(wm_base, &xdg_wm_base_listener, self); in shell_init_xdg_shell()
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/wayland-client-0.30.0-alpha5/examples/
H A Dsimple_window.rs26 wm_base: None, in main()
42 wm_base: Option<xdg_wm_base::XdgWmBase>, field
67 if self.wm_base.is_some() && self.xdg_surface.is_none() { in event()
105 let wm_base = in event() localVariable
107 self.wm_base = Some(wm_base); in event()
213 let wm_base = self.wm_base.as_ref().unwrap(); in init_xdg_surface() localVariable
216 let xdg_surface = wm_base.get_xdg_surface(conn, base_surface, qh, ()).unwrap(); in init_xdg_surface()
231 wm_base: &xdg_wm_base::XdgWmBase, in event()
238 wm_base.pong(conn, serial); in event()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/clients/
H A Dsimple-shm.c48 struct xdg_wm_base *wm_base; member
178 if (display->wm_base) { in create_window()
180 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
370 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
372 xdg_wm_base_add_listener(d->wm_base, &xdg_wm_base_listener, d); in registry_handle_global()
473 if (display->wm_base) in destroy_display()
474 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-egl.c60 struct xdg_wm_base *wm_base; member
374 window->xdg_surface = xdg_wm_base_get_xdg_surface(display->wm_base, in create_surface()
396 if (!display->wm_base) in create_surface()
603 if (!d->wm_base) in touch_handle_down()
667 if (!d->wm_base) in keyboard_handle_key()
753 d->wm_base = wl_registry_bind(registry, name, in registry_handle_global()
755 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
885 if (display.wm_base) in main()
886 xdg_wm_base_destroy(display.wm_base); in main()
H A Dsimple-dmabuf-v4l.c103 struct xdg_wm_base *wm_base; member
586 if (display->wm_base) { in create_window()
588 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
740 if (!d->wm_base) in keyboard_handle_key()
807 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
809 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
877 if (display->wm_base) in destroy_display()
878 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-dmabuf-drm.c80 struct xdg_wm_base *wm_base; member
647 if (display->wm_base) { in create_window()
649 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
819 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
821 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
885 if (display->wm_base) in destroy_display()
886 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-damage.c55 struct xdg_wm_base *wm_base; member
321 if (display->wm_base) { in create_window()
323 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
748 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
750 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
812 if (display->wm_base) in destroy_display()
813 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dpresentation-shm.c70 struct xdg_wm_base *wm_base; member
255 window->xdg_surface = xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
266 xdg_wm_base_add_listener(display->wm_base, &xdg_wm_base_listener, in create_window()
766 d->wm_base = in registry_handle_global()
854 if (display->wm_base) in destroy_display()
855 xdg_wm_base_destroy(display->wm_base); in destroy_display()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/clients/
H A Dsimple-shm.c48 struct xdg_wm_base *wm_base; member
178 if (display->wm_base) { in create_window()
180 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
370 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
372 xdg_wm_base_add_listener(d->wm_base, &xdg_wm_base_listener, d); in registry_handle_global()
473 if (display->wm_base) in destroy_display()
474 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-egl.c60 struct xdg_wm_base *wm_base; member
374 window->xdg_surface = xdg_wm_base_get_xdg_surface(display->wm_base, in create_surface()
396 if (!display->wm_base) in create_surface()
603 if (!d->wm_base) in touch_handle_down()
667 if (!d->wm_base) in keyboard_handle_key()
753 d->wm_base = wl_registry_bind(registry, name, in registry_handle_global()
755 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
885 if (display.wm_base) in main()
886 xdg_wm_base_destroy(display.wm_base); in main()
H A Dsimple-dmabuf-v4l.c103 struct xdg_wm_base *wm_base; member
586 if (display->wm_base) { in create_window()
588 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
740 if (!d->wm_base) in keyboard_handle_key()
807 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
809 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
877 if (display->wm_base) in destroy_display()
878 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-dmabuf-drm.c80 struct xdg_wm_base *wm_base; member
647 if (display->wm_base) { in create_window()
649 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
819 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
821 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
885 if (display->wm_base) in destroy_display()
886 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dsimple-damage.c55 struct xdg_wm_base *wm_base; member
321 if (display->wm_base) { in create_window()
323 xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
748 d->wm_base = wl_registry_bind(registry, in registry_handle_global()
750 xdg_wm_base_add_listener(d->wm_base, &wm_base_listener, d); in registry_handle_global()
812 if (display->wm_base) in destroy_display()
813 xdg_wm_base_destroy(display->wm_base); in destroy_display()
H A Dpresentation-shm.c70 struct xdg_wm_base *wm_base; member
255 window->xdg_surface = xdg_wm_base_get_xdg_surface(display->wm_base, in create_window()
266 xdg_wm_base_add_listener(display->wm_base, &xdg_wm_base_listener, in create_window()
766 d->wm_base = in registry_handle_global()
854 if (display->wm_base) in destroy_display()
855 xdg_wm_base_destroy(display->wm_base); in destroy_display()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/examples/
H A Dinput-inhibitor.c17 static struct xdg_wm_base *wm_base = NULL; variable
127 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
154 assert(compositor && seat && wm_base && input_inhibit_manager); in main()
166 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Didle-inhibit.c26 static struct xdg_wm_base *wm_base = NULL; variable
152 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
186 if (wm_base == NULL) { in main()
200 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Dkeyboard-shortcuts-inhibit.c29 static struct xdg_wm_base *wm_base = NULL; variable
184 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
218 if (wm_base == NULL) { in main()
232 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Dtoplevel-decoration.c20 static struct xdg_wm_base *wm_base = NULL; variable
164 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
212 if (wm_base == NULL) { in main()
226 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Dtext-input.c62 static struct xdg_wm_base *wm_base = NULL; variable
305 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
353 if (wm_base == NULL) { in main()
372 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Dpointer-constraints.c16 static struct xdg_wm_base *wm_base = NULL; variable
151 wm_base = wl_registry_bind(registry, name, &xdg_wm_base_interface, 1); in handle_global()
219 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
H A Drelative-pointer-unstable-v1.c101 static struct xdg_wm_base *wm_base = NULL; variable
111 wm_base = wl_registry_bind(registry, name, in registry_handle_global()
427 if (wm_base == NULL) { in main()
453 xdg_wm_base_get_xdg_surface(wm_base, surface); in main()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/smithay-client-toolkit-0.4.6/src/
H A Denv.rs172 let shell = if let Ok(wm_base) = manager.instantiate_auto(|wm_base| { in from_display_with_cb()
173 wm_base.implement( in from_display_with_cb()
181 Shell::Xdg(wm_base) in from_display_with_cb()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/smithay-client-toolkit-0.6.6/src/
H A Denv.rs178 let shell = if let Ok(wm_base) = in from_display_with_cb()
179 manager.instantiate_exact(1, |wm_base: NewProxy<xdg_wm_base::XdgWmBase>| { in from_display_with_cb()
180 wm_base.implement_closure( in from_display_with_cb()
189 Shell::Xdg(wm_base) in from_display_with_cb()
/dports/games/dose-response/dose-response-179c326/cargo-crates/smithay-client-toolkit-0.4.5/src/
H A Denv.rs172 let shell = if let Ok(wm_base) = manager.instantiate_auto(|wm_base| { in from_display_with_cb()
173 wm_base.implement( in from_display_with_cb()
181 Shell::Xdg(wm_base) in from_display_with_cb()
/dports/x11/wl-mirror/wl-mirror-0.8.2/src/
H A Dwayland.c203 if (ctx->wl.wm_base != NULL) { in registry_event_add()
209 ctx->wl.wm_base = (struct xdg_wm_base *)wl_registry_bind( in registry_event_add()
510 ctx->wl.wm_base = NULL; in init_wl()
555 } else if (ctx->wl.wm_base == NULL) { in init_wl()
567 xdg_wm_base_add_listener(ctx->wl.wm_base, &wm_base_listener, (void *)ctx); in init_wl()
580 ctx->wl.xdg_surface = xdg_wm_base_get_xdg_surface(ctx->wl.wm_base, ctx->wl.surface); in init_wl()
641 if (ctx->wl.wm_base != NULL) xdg_wm_base_destroy(ctx->wl.wm_base); in cleanup_wl()

1234