Documentation for <wlr/types/wlr_ext_foreign_toplevel_list_v1.h>
Table of contents
- struct wlr_ext_foreign_toplevel_handle_v1
- wlr_ext_foreign_toplevel_handle_v1_create()
- wlr_ext_foreign_toplevel_handle_v1_destroy()
- wlr_ext_foreign_toplevel_handle_v1_from_resource()
- struct wlr_ext_foreign_toplevel_handle_v1_state
- wlr_ext_foreign_toplevel_handle_v1_update_state()
- struct wlr_ext_foreign_toplevel_list_v1
- wlr_ext_foreign_toplevel_list_v1_create()
struct wlr_ext_foreign_toplevel_handle_v1 ¶
struct wlr_ext_foreign_toplevel_handle_v1 { struct wlr_ext_foreign_toplevel_list_v1 *list; struct wl_list resources; // wl_resource_get_link() struct wl_list link; // wlr_ext_foreign_toplevel_list_v1.toplevels char *title; char *app_id; char *identifier; struct { struct wl_signal destroy; } events; void *data; };
wlr_ext_foreign_toplevel_handle_v1_create() ¶
struct wlr_ext_foreign_toplevel_handle_v1 *wlr_ext_foreign_toplevel_handle_v1_create(struct wlr_ext_foreign_toplevel_list_v1 *list, const struct wlr_ext_foreign_toplevel_handle_v1_state *state);
wlr_ext_foreign_toplevel_handle_v1_destroy() ¶
void wlr_ext_foreign_toplevel_handle_v1_destroy(struct wlr_ext_foreign_toplevel_handle_v1 *toplevel);
Destroy the given toplevel handle, sending the closed event to any client.
wlr_ext_foreign_toplevel_handle_v1_from_resource() ¶
struct wlr_ext_foreign_toplevel_handle_v1 *wlr_ext_foreign_toplevel_handle_v1_from_resource(struct wl_resource *resource);
struct wlr_ext_foreign_toplevel_handle_v1_state ¶
struct wlr_ext_foreign_toplevel_handle_v1_state { const char *title; const char *app_id; };
wlr_ext_foreign_toplevel_handle_v1_update_state() ¶
void wlr_ext_foreign_toplevel_handle_v1_update_state(struct wlr_ext_foreign_toplevel_handle_v1 *toplevel, const struct wlr_ext_foreign_toplevel_handle_v1_state *state);
struct wlr_ext_foreign_toplevel_list_v1 ¶
struct wlr_ext_foreign_toplevel_list_v1 { struct wl_global *global; struct wl_list resources; // wl_resource_get_link() struct wl_list toplevels; // ext_foreign_toplevel_handle_v1.link struct { struct wl_signal destroy; } events; void *data; struct { struct wl_listener display_destroy; } WLR_PRIVATE; };
wlr_ext_foreign_toplevel_list_v1_create() ¶
struct wlr_ext_foreign_toplevel_list_v1 *wlr_ext_foreign_toplevel_list_v1_create(struct wl_display *display, uint32_t version);