From 5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Wed, 3 Jun 2020 14:39:12 +0200 Subject: container: Remove useless surface dimensions The adjustments to resize logic left them unnecessary. --- sway/tree/view.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sway/tree') 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; -- cgit v1.2.3