mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
fix decorations on wayland backend
This commit is contained in:
parent
9d87d4e336
commit
fc627afd18
3 changed files with 8 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue