mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
src/xwayland.c: Update xsurface on client map request
This commit is contained in:
parent
2e81cc13d4
commit
01e832b4a8
1 changed files with 5 additions and 0 deletions
|
|
@ -68,6 +68,11 @@ static void
|
|||
handle_map(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct view *view = wl_container_of(listener, view, map);
|
||||
struct wlr_xwayland_surface *xsurface = data;
|
||||
if (xsurface != view->xwayland_surface) {
|
||||
xsurface->data = view;
|
||||
view->xwayland_surface = xsurface;
|
||||
}
|
||||
view->impl->map(view);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue