mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix wlr_xwayland_destroy
This commit is contained in:
parent
085142ba34
commit
195103700c
1 changed files with 4 additions and 0 deletions
|
|
@ -406,6 +406,10 @@ static bool xwayland_start_server_lazy(struct wlr_xwayland *wlr_xwayland) {
|
|||
}
|
||||
|
||||
void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland) {
|
||||
if (!wlr_xwayland) {
|
||||
return;
|
||||
}
|
||||
|
||||
wlr_xwayland_set_seat(wlr_xwayland, NULL);
|
||||
xwayland_finish_server(wlr_xwayland);
|
||||
xwayland_finish_display(wlr_xwayland);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue