diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2024-02-12 19:16:49 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-12 19:05:13 +0100 |
commit | 7a2ff7ba810ced55297a1a2e420b0b1f4326ab72 (patch) | |
tree | e3f81b9ae40b763ebe1f034a4097e6eca3992959 /sway | |
parent | 09c360d503eb7309de46af3745001df7dd911438 (diff) |
view: drop ext_foreign_destroy
It's not used and causes a crash when a view is destroyed.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index aa87a0bb..a3ed0af1 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -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); |