aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/map_to_output.c
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2019-02-10 17:04:12 +0100
committeremersion <contact@emersion.fr>2019-02-10 17:13:11 +0100
commit605e515a9324c3e314939d21f1ea13b29881e100 (patch)
treed25161803fa047ae74297dd374005fe3915fd4f9 /sway/commands/input/map_to_output.c
parent995b6edab6fab33668a9bd320631b6ab65dc10c6 (diff)
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 'sway/commands/input/map_to_output.c')
0 files changed, 0 insertions, 0 deletions