1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-25 11:06:10 +02:00
sway/include/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.h swaynag: allow more config options 2018-08-01 22:47:54 -04:00
render.h swaynag: refactor {sway_,}nagbar to swaynag 2018-08-01 22:47:54 -04:00
swaynag.h swaynag: call swaynag_destroy on clean exit 2023-01-16 10:47:42 -05:00
types.h Add missing includes & remove duplicates 2023-01-03 21:50:56 +01:00