view: add state change signals

This commit is contained in:
Consolatis 2024-08-12 20:19:45 +02:00 committed by Johan Malm
parent 043e597376
commit 5e1f91c9d1
4 changed files with 41 additions and 0 deletions

View file

@ -976,6 +976,7 @@ xdg_toplevel_new(struct wl_listener *listener, void *data)
CONNECT_SIGNAL(toplevel, xdg_toplevel_view, request_show_window_menu);
CONNECT_SIGNAL(xdg_surface, xdg_toplevel_view, new_popup);
view_init(view);
wl_list_insert(&server->views, &view->link);
}