Jonas Dreßler 4d544d7b56 main: Only restore key focus on pop when modal actor is still focused
If something grabs the key focus while a modal is pushed, keeping
key-focus on that actor seems like the smarter thing to do than setting
it back to the last focus after the modal gets popped again. So check if
the key focus actor that we set when pushing the modal got changed when
popping that modal, and if it got changed, simply don't touch key focus.

This fixes a bug with the close dialog, where key focus isn't correctly
set to the dialog after alt-tabbing to a window showing a close dialog.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/786>
2024-01-29 23:14:24 +00:00
..
2023-11-10 20:19:13 +00:00
2023-11-21 18:55:47 +00:00
2023-08-06 13:02:49 +02:00
2023-11-10 20:19:13 +00:00
2023-08-31 03:44:32 +00:00
2023-08-06 13:02:49 +02:00
2024-01-04 18:59:33 +00:00
2023-11-10 20:19:13 +00:00
2023-11-10 20:19:13 +00:00
2023-08-09 15:10:38 +00:00
2023-11-10 20:19:13 +00:00
2023-11-10 20:19:13 +00:00
2023-08-10 17:42:23 +00:00
2023-11-19 02:20:01 +00:00
2023-11-21 18:55:47 +00:00
2023-08-31 03:44:32 +00:00
2023-12-16 23:57:48 +01:00