From 0570eb19e5cd3d6f4839f3b4fc921e9fbd1f0aa0 Mon Sep 17 00:00:00 2001 From: Antonin Décimo Date: Sat, 10 Aug 2019 16:47:19 +0200 Subject: view_update_size: fix surface_width/height mismatch --- sway/tree/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/tree/view.c b/sway/tree/view.c index bb3ae707..0f35d970 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -709,7 +709,7 @@ void view_update_size(struct sway_view *view, int width, int height) { con->surface_y = fmax(con->surface_y, con->content_y); } con->surface_width = width; - con->surface_width = height; + con->surface_height = height; } static const struct sway_view_child_impl subsurface_impl; -- cgit v1.2.3