view: fix saved buffer order
This commit is contained in:
parent
69a7b9215e
commit
72b0491ca0
|
@ -1401,7 +1401,7 @@ static void view_save_buffer_iterator(struct wlr_surface *surface,
|
||||||
saved_buffer->y = view->container->surface_y + sy;
|
saved_buffer->y = view->container->surface_y + sy;
|
||||||
saved_buffer->transform = surface->current.transform;
|
saved_buffer->transform = surface->current.transform;
|
||||||
wlr_surface_get_buffer_source_box(surface, &saved_buffer->source_box);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue