diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index 8b5bc93c..749365cb 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -140,6 +140,10 @@ bool server_init(struct sway_server *server) { | |||
140 | 140 | ||
141 | void server_fini(struct sway_server *server) { | 141 | void server_fini(struct sway_server *server) { |
142 | // TODO: free sway-specific resources | 142 | // TODO: free sway-specific resources |
143 | #ifdef HAVE_XWAYLAND | ||
144 | wlr_xwayland_destroy(server->xwayland.wlr_xwayland); | ||
145 | #endif | ||
146 | wl_display_destroy_clients(server->wl_display); | ||
143 | wl_display_destroy(server->wl_display); | 147 | wl_display_destroy(server->wl_display); |
144 | list_free(server->dirty_containers); | 148 | list_free(server->dirty_containers); |
145 | list_free(server->transactions); | 149 | list_free(server->transactions); |