mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
xwayland: Set view in surface data
Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
fffa912fd6
commit
a29ffebc40
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue