1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 13:22:17 +01:00
sway/swaynag
Manuel Stoeckl 5e73acb431 swaynag: call swaynag_destroy on clean exit
And fix the fallout of the swaynag_destroy having evolved without
being tested:
* wl_display_disconnect was called too early
* `button_close` and `swaynag.details.button_details` needed to be
  heap allocated, since they are added to swaynag.buttons, and all
  entries of swaynag.buttons are freed in swaynag_destroy
* To keep things simpler, disconnect the lifetime of the 'Toggle details'
  button text config setting from the button itself.
2023-01-16 10:47:42 -05:00
..
config.c swaynag: call swaynag_destroy on clean exit 2023-01-16 10:47:42 -05:00
main.c swaynag: call swaynag_destroy on clean exit 2023-01-16 10:47:42 -05:00
meson.build
render.c
swaynag.1.scd
swaynag.5.scd
swaynag.c swaynag: call swaynag_destroy on clean exit 2023-01-16 10:47:42 -05:00
types.c