aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 3ab971f7..200b7c2a 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -1401,7 +1401,7 @@ static void view_save_buffer_iterator(struct wlr_surface *surface,
saved_buffer->y = view->container->surface_y + sy;
saved_buffer->transform = surface->current.transform;
wlr_surface_get_buffer_source_box(surface, &saved_buffer->source_box);
- wl_list_insert(&view->saved_buffers, &saved_buffer->link);
+ wl_list_insert(view->saved_buffers.prev, &saved_buffer->link);
}
}