mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-12-16 18:03:19 +00:00
replace wlr_scene_xdg_popup_create wlr_scene_xdg_surface_create
This commit is contained in:
parent
21f3c1a671
commit
b7e5fcd48b
4
dwl.c
4
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user