aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorKalyan Sriram <coder.kalyan@gmail.com>2020-06-05 05:13:18 -0700
committerGitHub <noreply@github.com>2020-06-05 14:13:18 +0200
commite3e548a64861749474d87904875655904023b335 (patch)
tree4e359af42d43bce36810bcd87fdaa0ec70a0a81c /sway/tree/view.c
parentf7e050c58f61a15bf5987e2e3d280a72666f6381 (diff)
Save transform during transaction
Closes: https://github.com/swaywm/sway/issues/5412
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index a9034637..314fd381 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -1199,6 +1199,7 @@ static void view_save_buffer_iterator(struct wlr_surface *surface,
saved_buffer->height = surface->current.height;
saved_buffer->x = sx;
saved_buffer->y = sy;
+ saved_buffer->transform = surface->current.transform;
wl_list_insert(&view->saved_buffers, &saved_buffer->link);
}
}