xwm: free x11 windows on finish

This commit is contained in:
Dominique Martinet 2017-08-23 23:39:16 +02:00
parent e3143b50b6
commit 4a288fdacb
2 changed files with 10 additions and 3 deletions

View file

@ -134,9 +134,6 @@ static void wlr_xwayland_finish(struct wlr_xwayland *wlr_xwayland) {
wl_event_source_remove(wlr_xwayland->sigusr1_source);
}
// TODO: destroy all these windows, for now just cleanup
wl_list_init(&wlr_xwayland->displayable_windows);
xwm_destroy(wlr_xwayland->xwm);
safe_close(wlr_xwayland->x_fd[0]);