diff options
author | Simon Ser <contact@emersion.fr> | 2019-08-31 23:19:47 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-01 09:58:03 +0900 |
commit | 53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba (patch) | |
tree | 3eeb285b3f4bb0e434df4db66638cdf35ebf4945 /sway.desktop | |
parent | Ensure that seat->focused_layer is cleared on unmap (diff) | |
download | sway-53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba.tar.gz sway-53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba.tar.zst sway-53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba.zip |
layer-shell: don't give focus to unmapped layer surfaces
Focused layers are not cleared when destroyed, they are cleared on unmap.
Giving focus to an unmapped layer surface is (1) incorrect and (2) triggers a
use-after-free.
Closes: https://github.com/swaywm/sway/issues/4517
Diffstat (limited to 'sway.desktop')
0 files changed, 0 insertions, 0 deletions