Remove input.last_active_view

This commit is contained in:
emersion 2017-10-27 19:21:26 +02:00
parent 4bee96bd30
commit 315c01ba0f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 5 additions and 7 deletions

View file

@ -24,9 +24,6 @@ void view_destroy(struct roots_view *view) {
input->active_view = NULL;
input->mode = ROOTS_CURSOR_PASSTHROUGH;
}
if (input->last_active_view == view) {
input->last_active_view = NULL;
}
for (size_t i = 0; i < desktop->views->length; ++i) {
struct roots_view *_view = desktop->views->items[i];