aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 2f80062a..6322b859 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -218,8 +218,9 @@ static struct wlr_xwayland_surface *xwayland_surface_create(
wl_signal_init(&surface->events.set_decorations);
wl_signal_init(&surface->events.set_strut_partial);
wl_signal_init(&surface->events.set_override_redirect);
- wl_signal_init(&surface->events.ping_timeout);
wl_signal_init(&surface->events.set_geometry);
+ wl_signal_init(&surface->events.map_request);
+ wl_signal_init(&surface->events.ping_timeout);
xcb_get_geometry_reply_t *geometry_reply =
xcb_get_geometry_reply(xwm->xcb_conn, geometry_cookie, NULL);
@@ -1123,6 +1124,7 @@ static void xwm_handle_map_request(struct wlr_xwm *xwm,
return;
}
+ wl_signal_emit_mutable(&xsurface->events.map_request, NULL);
xcb_map_window(xwm->xcb_conn, ev->window);
}