Updates per wlroots#1076

This commit is contained in:
Drew DeVault 2018-07-01 09:46:02 -04:00 committed by emersion
parent dd869c158e
commit d43500831a
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 16 additions and 16 deletions

View file

@ -73,8 +73,8 @@ static void save_view_buffer(struct sway_view *view,
}
if (view->surface && wlr_surface_has_buffer(view->surface)) {
instruction->saved_buffer = wlr_buffer_ref(view->surface->buffer);
instruction->saved_buffer_width = view->surface->current->width;
instruction->saved_buffer_height = view->surface->current->height;
instruction->saved_buffer_width = view->surface->current.width;
instruction->saved_buffer_height = view->surface->current.height;
}
}