aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/map_to_output.c
diff options
context:
space:
mode:
authorDaniel De Graaf <code@danieldg.net>2022-04-30 00:46:53 -0400
committerSimon Ser <contact@emersion.fr>2022-10-28 19:41:24 +0200
commit8aa89dc27736fc4940f3811ef15bb3135e629a8c (patch)
tree2ca6878657ed22e6150f478ace9651b3d61e5ebe /sway/commands/input/map_to_output.c
parent8f7bb145b72209724f05b0182dee33c0e47d2357 (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