summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2019-08-10 16:47:19 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-20 13:27:52 +0900
commit9e5664e9973015c6face5db134257d075fc0339b (patch)
tree660a6d87dba7ed52f6364df53a4818fdf41dae1b
parentee4050157093f85aa76c09ca94d8d0269d0ff9f6 (diff)
view_update_size: fix surface_width/height mismatch
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index bb3ae707f..0f35d9702 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;