diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 5e8afa65..14f59b9c 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -284,7 +284,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { | |||
284 | struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; | 284 | struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; |
285 | struct wlr_surface_state *surface_state = &xsurface->surface->current; | 285 | struct wlr_surface_state *surface_state = &xsurface->surface->current; |
286 | 286 | ||
287 | if (view->swayc->instructions->length) { | 287 | if (view->swayc->instruction) { |
288 | transaction_notify_view_ready_by_size(view, | 288 | transaction_notify_view_ready_by_size(view, |
289 | surface_state->width, surface_state->height); | 289 | surface_state->width, surface_state->height); |
290 | } else if (container_is_floating(view->swayc)) { | 290 | } else if (container_is_floating(view->swayc)) { |