aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 711ab7aa..a9034637 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -737,8 +737,6 @@ void view_update_size(struct sway_view *view, int width, int height) {
con->surface_x = fmax(con->surface_x, con->content_x);
con->surface_y = fmax(con->surface_y, con->content_y);
}
- con->surface_width = width;
- con->surface_height = height;
}
static const struct sway_view_child_impl subsurface_impl;