]> git.mdlowis.com Git - proto/labwc.git/commit
foreign-toplevel: disconnect internal signals from handle_handle_destroy()
authorJohn Lindgren <john@jlindgren.net>
Thu, 7 Aug 2025 19:27:12 +0000 (15:27 -0400)
committerJohn Lindgren <john@jlindgren.net>
Fri, 8 Aug 2025 03:27:04 +0000 (23:27 -0400)
commit55b495f3981aab0b0af825cca594324a2f24fbb2
tree6bbbce123c3b765162a8d02a05f48d51937dbedb
parentd87ef7568a97f03a84061feb94c7ce1dd37c11da
foreign-toplevel: disconnect internal signals from handle_handle_destroy()

If the handle gets destroyed from the wlroots side before the view
is destroyed, the internal signals (emitted from the view) are not
disconnected and will assert() if invoked.
src/foreign-toplevel/ext-foreign.c
src/foreign-toplevel/wlr-foreign.c