Make view_update_* update live props as well

This commit is contained in:
emersion 2018-07-06 19:33:10 +01:00
parent 47d56306c3
commit 9a9d9116be
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 3 deletions

View file

@ -283,9 +283,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
if (view->swayc->instructions->length) {
transaction_notify_view_ready_by_size(view,
surface_state->width, surface_state->height);
}
if (container_is_floating(view->swayc)) {
} else if (container_is_floating(view->swayc)) {
view_update_size(view, surface_state->width, surface_state->height);
}