surface: add wlr_surface new_subsurface and wlr_subsurface destroy events

This commit is contained in:
emersion 2018-01-21 14:22:33 +01:00
parent c6aab6f56c
commit eeffe11337
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 16 additions and 10 deletions

View file

@ -1406,7 +1406,7 @@ struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland) {
xwm_selection_init(xwm);
xwm->compositor_surface_create.notify = handle_compositor_surface_create;
wl_signal_add(&wlr_xwayland->compositor->events.create_surface,
wl_signal_add(&wlr_xwayland->compositor->events.new_surface,
&xwm->compositor_surface_create);
xwm_create_wm_window(xwm);