diff options
author | Simon Ser <[email protected]> | 2019-08-31 23:19:47 +0300 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2019-09-01 09:58:03 +0900 |
commit | 53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba (patch) | |
tree | 3eeb285b3f4bb0e434df4db66638cdf35ebf4945 /sway/commands/xwayland.c | |
parent | b2ee5bc05d1f112e2f80a50749f91d58fc89b167 (diff) |
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/commands/xwayland.c')
0 files changed, 0 insertions, 0 deletions