mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
view: drop ext_foreign_destroy
It's not used and causes a crash when a view is destroyed.
This commit is contained in:
parent
09c360d503
commit
7a2ff7ba81
2 changed files with 0 additions and 3 deletions
|
|
@ -765,8 +765,6 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
|
|||
};
|
||||
view->ext_foreign_toplevel =
|
||||
wlr_ext_foreign_toplevel_handle_v1_create(server.foreign_toplevel_list, &foreign_toplevel_state);
|
||||
wl_signal_add(&view->ext_foreign_toplevel->events.destroy,
|
||||
&view->ext_foreign_destroy);
|
||||
|
||||
view->foreign_toplevel =
|
||||
wlr_foreign_toplevel_handle_v1_create(server.foreign_toplevel_manager);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue