diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-06-03 14:39:12 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-03 16:41:17 +0200 |
commit | 5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d (patch) | |
tree | 26824b89fe15a3ffc4876d1dba6a6c4ca99866a8 /sway/tree/view.c | |
parent | transaction: Improve transaction commentary (diff) | |
download | sway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.tar.gz sway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.tar.zst sway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.zip |
container: Remove useless surface dimensions
The adjustments to resize logic left them unnecessary.
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 2 |
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) { | |||
737 | con->surface_x = fmax(con->surface_x, con->content_x); | 737 | con->surface_x = fmax(con->surface_x, con->content_x); |
738 | con->surface_y = fmax(con->surface_y, con->content_y); | 738 | con->surface_y = fmax(con->surface_y, con->content_y); |
739 | } | 739 | } |
740 | con->surface_width = width; | ||
741 | con->surface_height = height; | ||
742 | } | 740 | } |
743 | 741 | ||
744 | static const struct sway_view_child_impl subsurface_impl; | 742 | static const struct sway_view_child_impl subsurface_impl; |