mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xwayland: add wlr_xwayland_shell_v1_destroy()
This commit is contained in:
parent
44c7e233ff
commit
d3b84463f8
2 changed files with 25 additions and 4 deletions
|
|
@ -27,6 +27,7 @@ struct wlr_xwayland_shell_v1 {
|
|||
// private state
|
||||
|
||||
struct wl_client *client;
|
||||
struct wl_list surfaces; // wlr_xwayland_surface_v1.link
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
struct wl_listener client_destroy;
|
||||
|
|
@ -42,6 +43,7 @@ struct wlr_xwayland_surface_v1 {
|
|||
// private state
|
||||
|
||||
struct wl_resource *resource;
|
||||
struct wl_list link;
|
||||
struct wlr_xwayland_shell_v1 *shell;
|
||||
bool added;
|
||||
|
||||
|
|
@ -57,6 +59,11 @@ struct wlr_xwayland_surface_v1 {
|
|||
struct wlr_xwayland_shell_v1 *wlr_xwayland_shell_v1_create(
|
||||
struct wl_display *display, uint32_t version);
|
||||
|
||||
/**
|
||||
* Destroy the xwayland_shell_v1 global.
|
||||
*/
|
||||
void wlr_xwayland_shell_v1_destroy(struct wlr_xwayland_shell_v1 *shell);
|
||||
|
||||
/**
|
||||
* Allow a client to bind to the xwayland_shell_v1 global.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue