mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xwayland: add wlr_xwayland_shell_v1_set_client()
This commit is contained in:
parent
69b0b296a2
commit
44c7e233ff
2 changed files with 36 additions and 0 deletions
|
|
@ -26,7 +26,10 @@ struct wlr_xwayland_shell_v1 {
|
|||
|
||||
// private state
|
||||
|
||||
struct wl_client *client;
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
struct wl_listener client_destroy;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -54,4 +57,10 @@ struct wlr_xwayland_surface_v1 {
|
|||
struct wlr_xwayland_shell_v1 *wlr_xwayland_shell_v1_create(
|
||||
struct wl_display *display, uint32_t version);
|
||||
|
||||
/**
|
||||
* Allow a client to bind to the xwayland_shell_v1 global.
|
||||
*/
|
||||
void wlr_xwayland_shell_v1_set_client(struct wlr_xwayland_shell_v1 *shell,
|
||||
struct wl_client *client);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue