diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-08-10 16:47:19 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-08-10 16:47:19 +0200 |
| commit | f99585f313803ccf1c4fbca2e3f1697632855a51 (patch) | |
| tree | 660a6d87dba7ed52f6364df53a4818fdf41dae1b | |
| parent | 2c1fe5fa536738c3c05c2d73de65de08cbc51388 (diff) | |
view_update_size: fix surface_width/height mismatch
| -rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
