update rootston for surface changes

This commit is contained in:
Tony Crisci 2017-09-28 19:32:04 -04:00
parent 3a04f5b2db
commit 2e8543cac0
2 changed files with 5 additions and 5 deletions

View file

@ -31,8 +31,8 @@ void view_get_input_bounds(struct roots_view *view, struct wlr_box *box) {
return;
}
box->x = box->y = 0;
box->width = view->wlr_surface->current.width;
box->height = view->wlr_surface->current.height;
box->width = view->wlr_surface->current->width;
box->height = view->wlr_surface->current->height;
}
void view_activate(struct roots_view *view, bool activate) {