Add view_get_geometry

This commit is contained in:
emersion 2018-07-02 23:06:44 +01:00 committed by Ryan Dwyer
parent db4b4935b3
commit b3ee9af0c8
4 changed files with 28 additions and 37 deletions

View file

@ -287,8 +287,6 @@ static void handle_commit(struct wl_listener *listener, void *data) {
if (view->swayc->instruction) {
transaction_notify_view_ready_by_size(view,
surface_state->width, surface_state->height);
} else if (container_is_floating(view->swayc)) {
view_update_size(view, surface_state->width, surface_state->height);
}
view_damage_from(view);