aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-input.5.scd
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2019-08-31 23:19:47 +0300
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-09-01 09:58:03 +0900
commit53e01bf5c7763b5f49ce15b05f6b32f986e2b2ba (patch)
tree3eeb285b3f4bb0e434df4db66638cdf35ebf4945 /sway/sway-input.5.scd
parentEnsure that seat->focused_layer is cleared on unmap (diff)
downloadsway-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/sway-input.5.scd')
0 files changed, 0 insertions, 0 deletions