aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-06-03 10:28:24 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-03 10:28:24 +1000
commit8289e303085845b26e5fcb953facba36bbb99062 (patch)
tree75384b8790f6497181cdf00a9b26073809b641d6 /include/swaybar
parentfb932cf8477120ee9fd9db37be1cd26a603fe0a3 (diff)
Fix potential crash when destroying workspace
`_container_destroy` emits a destroy event, and any listener for this event should have access to the full container, not a half destroyed one. `_container_destroy` also destroys the swayc, so we have to grab a reference to the sway_workspace so we can free it afterwards. This also fixes a memory leak where the floating container wasn't freed. Fixes #2092.
Diffstat (limited to 'include/swaybar')
0 files changed, 0 insertions, 0 deletions