diff options
author | Daniel De Graaf <code@danieldg.net> | 2022-04-30 00:46:53 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-10-28 19:41:24 +0200 |
commit | 8aa89dc27736fc4940f3811ef15bb3135e629a8c (patch) | |
tree | 2ca6878657ed22e6150f478ace9651b3d61e5ebe /sway/commands/input/map_to_output.c | |
parent | 8f7bb145b72209724f05b0182dee33c0e47d2357 (diff) |
Fix focus tracking when session lock is active
Remove the incorrect attempt to block focus changes when an input grab
is present and replace it with the same logic used for layer_shell-based
screen lockers: restore the focus after changing it.
This fixes a use-after-free of seat->workspace if outputs are destroyed
while a screen lock is enabled.
Diffstat (limited to 'sway/commands/input/map_to_output.c')
0 files changed, 0 insertions, 0 deletions