view_update_size: fix surface_width/height mismatch

master
Antonin Décimo 5 years ago committed by Drew DeVault
parent 9be76e6b12
commit 0570eb19e5

@ -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;

Loading…
Cancel
Save