diff options
author | 2023-01-08 09:21:30 -0500 | |
---|---|---|
committer | 2023-01-16 10:47:42 -0500 | |
commit | 5e73acb431258d81a01709fbd28da2e151bd3bd3 (patch) | |
tree | 94b773c7ff37dfe45c6e99cfaecff98927bf0b8b /swaynag/types.c | |
parent | input: enable user xkb configs with cap_sys_nice (diff) | |
download | sway-5e73acb431258d81a01709fbd28da2e151bd3bd3.tar.gz sway-5e73acb431258d81a01709fbd28da2e151bd3bd3.tar.zst sway-5e73acb431258d81a01709fbd28da2e151bd3bd3.zip |
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.
Diffstat (limited to 'swaynag/types.c')
0 files changed, 0 insertions, 0 deletions