]> git.mdlowis.com Git - proto/labwc.git/commit
project wide: clean up event listeners on shutdown
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 8 Feb 2025 14:48:50 +0000 (15:48 +0100)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Thu, 13 Mar 2025 08:33:51 +0000 (17:33 +0900)
commit9e6aaa689aafecff7cd38e1c501ffd04219d077f
tree77a86c11193cb852dbdb133e4570ea6bed83a1ee
parent4750214d421906daed60881843021341fc35bb81
project wide: clean up event listeners on shutdown

This ensures all event listeners are removed before the emitting
wlroots object is being destroyed. This will be enforced with asserts
in wlroots 0.19 but there is no reason to not do it right now either.

This change in wlroots 0.19 is implemented via commit
8f56f7ca43257cc05c7c4eb57a0f541e05cf9a79
"Assert (almost all) signals have no attached listeners on destroy"
13 files changed:
include/decorations.h
include/labwc.h
include/layers.h
src/decorations/kde-deco.c
src/decorations/xdg-deco.c
src/idle.c
src/input/cursor.c
src/layers.c
src/output.c
src/seat.c
src/server.c
src/xdg.c
src/xwayland.c