diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-23 07:11:54 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-23 08:07:03 -0500 |
commit | fc627afd1842a8288cec620daa729c170be2af17 (patch) | |
tree | 49912024c7c1ffd869bd7d18c7d2937683247392 /rootston/seat.c | |
parent | 9d87d4e33616aba3f57578548fdb8cb150b814e8 (diff) |
fix decorations on wayland backend
Diffstat (limited to 'rootston/seat.c')
-rw-r--r-- | rootston/seat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index 41ae6c9f..e6e505b5 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -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); |