sway/sway
Joan Bruguera Micó 100f92a189 layer-shell: Restore interactive layer focus code
Commit 188811f808 ("scene_graph: Port layer_shell") accidentally
removed code in `arrange_layers` to handle focus on layer shell
surfaces with keyboard interactivity.

Due to this, layer shell surfaces requesting exclusive keyboard
interactivity may not get automatically focused, and layer shell
surfaces giving up exclusive keyboard interactivity can remain focused.

Add the previous code back to fix the problem.

Note the non-rename change included in b4d7e84d38 ("desktop: Rename
layers to shell_layers") is not included as it also seems accidental.

Fixes: #7936
(cherry picked from commit 4d4c88f0a7)
2024-09-20 19:41:52 +02:00
..
commands Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
config Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
desktop layer-shell: Restore interactive layer focus code 2024-09-20 19:41:52 +02:00
input Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
tree view: send scale notification when the output is known 2024-06-29 14:53:00 +02:00
commands.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
config.c Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
criteria.c Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
ipc-server.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
lock.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
main.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
meson.build Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
realtime.c realtime: request SCHED_RR using CAP_SYS_NICE 2022-05-18 11:20:17 +02:00
scene_descriptor.c scene_graph: Introduce sway_scene_descriptor 2024-01-18 18:36:54 +03:00
server.c server: hide xdg_output from unprivileged clients 2024-05-27 09:27:20 -04:00
sway-bar.5.scd man: update Pango font description URL 2021-08-04 02:15:04 +02:00
sway-input.5.scd Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
sway-ipc.7.scd Implement clickfinger_button_map support. 2024-07-04 22:47:46 +02:00
sway-output.5.scd sway/commands/output: Add command to set color profile 2024-06-07 19:01:49 +02:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd input: add Super as alternative for Mod4 2024-04-05 16:40:28 +02:00
sway_text_node.c sway_text_node: avoid unnecessary redraws 2024-07-03 18:30:08 -04:00
swaynag.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
xdg_activation_v1.c xdg-activation: launcher tokens are activation requests 2024-07-06 16:12:27 +02:00
xdg_decoration.c xdg-shell: chase events update 2023-11-23 19:41:57 +01:00