diff --git a/dwl.c b/dwl.c index 42954d3..fcf81d9 100644 --- a/dwl.c +++ b/dwl.c @@ -881,8 +881,8 @@ createnotify(struct wl_listener *listener, void *data) Client *c; if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_POPUP) { - xdg_surface->surface->data = wlr_scene_xdg_popup_create( - xdg_surface->popup->parent->data, xdg_surface->popup); + xdg_surface->surface->data = wlr_scene_xdg_surface_create( + xdg_surface->popup->parent->data, xdg_surface); return; } else if (xdg_surface->role == WLR_XDG_SURFACE_ROLE_NONE) return;