diff options
author | 2019-02-10 17:04:12 +0100 | |
---|---|---|
committer | 2019-02-10 17:13:11 +0100 | |
commit | 605e515a9324c3e314939d21f1ea13b29881e100 (patch) | |
tree | d25161803fa047ae74297dd374005fe3915fd4f9 /swaynag | |
parent | container_at_stacked: skip titles when zero pixels (diff) | |
download | sway-605e515a9324c3e314939d21f1ea13b29881e100.tar.gz sway-605e515a9324c3e314939d21f1ea13b29881e100.tar.zst sway-605e515a9324c3e314939d21f1ea13b29881e100.zip |
fix double free for mode toggle if bar was invisible
If the bar was set to "invisible" and subsequently "toggle" was send twice, the
new mode was never set and the bar->mode was double freed.
Fix this by not requiring the bar->mode to be "hide" and instead show it
unconditionally, because it was either hidden or invisible.
Fixes #3637
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions