diff options
author | 2018-08-20 08:54:58 +1000 | |
---|---|---|
committer | 2018-08-20 09:04:04 +1000 | |
commit | b3e2c497742197bbeb7270fcc882f641cf84a612 (patch) | |
tree | eef53d774ae0970c1912fe3420dbae8d751c91a6 /swayidle/meson.build | |
parent | Merge pull request #2493 from RyanDwyer/fix-popup-position (diff) | |
download | sway-b3e2c497742197bbeb7270fcc882f641cf84a612.tar.gz sway-b3e2c497742197bbeb7270fcc882f641cf84a612.tar.zst sway-b3e2c497742197bbeb7270fcc882f641cf84a612.zip |
Fix crash when a view destroys with pending transactions
We were removing the saved buffer when one transaction applies, then
didn't have a new buffer to save when the next transaction ran. This
made the rendering code crash as it had no surface to use.
This commit makes it continue to hold the buffer if the view is
destroying and has more transactions. Additionally, a check is added
when saving the buffer to make sure there's no one already there.
Diffstat (limited to 'swayidle/meson.build')
0 files changed, 0 insertions, 0 deletions