chase: move xdg destroy signal to toplevel / popup

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4345
This commit is contained in:
Consolatis 2024-05-27 15:55:46 +02:00 committed by Johan Malm
parent 50047db8b2
commit 3b2ab4a48e
4 changed files with 4 additions and 4 deletions

View file

@ -824,9 +824,9 @@ xdg_surface_new(struct wl_listener *listener, void *data)
xdg_surface->surface->data = tree;
view_connect_map(view, xdg_surface->surface);
CONNECT_SIGNAL(xdg_surface, view, destroy);
struct wlr_xdg_toplevel *toplevel = xdg_surface->toplevel;
CONNECT_SIGNAL(toplevel, view, destroy);
CONNECT_SIGNAL(toplevel, view, request_move);
CONNECT_SIGNAL(toplevel, view, request_resize);
CONNECT_SIGNAL(toplevel, view, request_minimize);