Set current size when a floating xwayland view resizes

This avoids sending an unnecessary configure.
master
Ryan Dwyer 6 years ago
parent 8af4e2e3e6
commit 4e755c4b12

@ -293,6 +293,8 @@ static void handle_commit(struct wl_listener *listener, void *data) {
// It maps at a small size then changes afterwards.
view->width = state->width;
view->height = state->height;
view->swayc->current.view_width = state->width;
view->swayc->current.view_height = state->height;
container_set_geometry_from_floating_view(view->swayc);
transaction_commit_dirty();
}

Loading…
Cancel
Save