mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
xdg: cleanup request_show_window_menu listener when destroy
This commit is contained in:
parent
08d31145fd
commit
f4d581ef91
1 changed files with 1 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ handle_destroy(struct wl_listener *listener, void *data)
|
|||
|
||||
/* Remove xdg-shell view specific listeners */
|
||||
wl_list_remove(&xdg_toplevel_view->set_app_id.link);
|
||||
wl_list_remove(&xdg_toplevel_view->request_show_window_menu.link);
|
||||
wl_list_remove(&xdg_toplevel_view->new_popup.link);
|
||||
wl_list_remove(&view->commit.link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue