aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-01 09:46:02 -0400
committerLibravatar emersion <contact@emersion.fr>2018-07-05 00:26:35 +0100
commitd43500831a78580f59525144a0c9b034d4d399d0 (patch)
treeaacb4197dcfc144fb5790eb2a7287649520c8fc7 /sway/desktop/xwayland.c
parentMerge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiled (diff)
downloadsway-d43500831a78580f59525144a0c9b034d4d399d0.tar.gz
sway-d43500831a78580f59525144a0c9b034d4d399d0.tar.zst
sway-d43500831a78580f59525144a0c9b034d4d399d0.zip
Updates per wlroots#1076
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 71803262..0669a485 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -278,7 +278,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
278 wl_container_of(listener, xwayland_view, commit); 278 wl_container_of(listener, xwayland_view, commit);
279 struct sway_view *view = &xwayland_view->view; 279 struct sway_view *view = &xwayland_view->view;
280 struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; 280 struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface;
281 struct wlr_surface_state *surface_state = xsurface->surface->current; 281 struct wlr_surface_state *surface_state = &xsurface->surface->current;
282 282
283 if (view->swayc->instructions->length) { 283 if (view->swayc->instructions->length) {
284 transaction_notify_view_ready_by_size(view, 284 transaction_notify_view_ready_by_size(view,