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

@ -278,7 +278,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
wl_container_of(listener, xwayland_view, commit);
struct sway_view *view = &xwayland_view->view;
struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface;
struct wlr_surface_state *surface_state = xsurface->surface->current;
struct wlr_surface_state *surface_state = &xsurface->surface->current;
if (view->swayc->instructions->length) {
transaction_notify_view_ready_by_size(view,