mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
replace wlr_scene_xdg_popup_create wlr_scene_xdg_surface_create
This commit is contained in:
parent
21f3c1a671
commit
b7e5fcd48b
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue