fix decorations on wayland backend

This commit is contained in:
Tony Crisci 2018-01-23 07:11:54 -05:00
parent 9d87d4e336
commit fc627afd18
3 changed files with 8 additions and 3 deletions

View file

@ -573,6 +573,10 @@ static void seat_view_destroy(struct roots_seat_view *seat_view) {
seat->cursor->mode = ROOTS_CURSOR_PASSTHROUGH;
}
if (seat_view == seat->cursor->pointer_view) {
seat->cursor->pointer_view = NULL;
}
wl_list_remove(&seat_view->view_destroy.link);
wl_list_remove(&seat_view->link);
free(seat_view);