Merge branch 'xwayland' into 'master'

xwayland: support create multi wlr_xwayland

See merge request wlroots/wlroots!4346
This commit is contained in:
JiDe Zhang 2023-10-02 21:02:53 +00:00
commit c23b18d5d0
6 changed files with 102 additions and 28 deletions

View file

@ -19,6 +19,7 @@
struct wlr_xwm;
struct wlr_data_source;
struct wlr_drag;
struct wlr_xwayland_shell_v1;
struct wlr_xwayland {
struct wlr_xwayland_server *server;
@ -197,7 +198,8 @@ struct wlr_xwayland_minimize_event {
* client tries to connect.
*/
struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display,
struct wlr_compositor *compositor, bool lazy);
struct wlr_compositor *compositor, struct wlr_xwayland_shell_v1 *shell,
bool lazy);
void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland);