From: Joshua Ashton Date: Wed, 20 Oct 2021 16:02:39 +0000 (+0000) Subject: xwayland: Set view in surface data X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a29ffebc408add5b9ca7dd1b3ce49a549eb0e4f8;p=proto%2Flabwc.git xwayland: Set view in surface data Signed-off-by: Joshua Ashton --- diff --git a/src/xwayland.c b/src/xwayland.c index 345eb2df..d7e5ae6f 100644 --- a/src/xwayland.c +++ b/src/xwayland.c @@ -336,6 +336,8 @@ xwayland_surface_new(struct wl_listener *listener, void *data) view->xwayland_surface = xsurface; wl_list_init(&view->ssd.parts); + xsurface->data = view; + view->map.notify = handle_map; wl_signal_add(&xsurface->events.map, &view->map); view->unmap.notify = handle_unmap;