aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-05 22:23:15 +0100
committerGitHub <noreply@github.com>2018-07-05 22:23:15 +0100
commit84109431f7d7919789839716d53346290b51d0f7 (patch)
tree3a5a9e5571ac61290412015bb64e2a764b785ce6 /sway/desktop/xwayland.c
parent9ba59cb3c9c1b7d5370fdd7ae37b65acd2221f25 (diff)
parent51b215ad5c0cadc4f1c10f407d1a2c375b46a769 (diff)
downloadsway-84109431f7d7919789839716d53346290b51d0f7.tar.xz
Merge pull request #2185 from swaywm/update-wlroots-1076
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) {
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,