diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2023-02-08 13:54:45 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-02-13 12:45:37 +0000 |
commit | df16cb9fb791f00da0045ca7e8a435369b899132 (patch) | |
tree | 85dca8256e58ad89388e8ff0dcb95dc4445f42ab /src | |
parent | 221d208410e02299876fd87959b9c76723c28e98 (diff) | |
download | mutter-df16cb9fb791f00da0045ca7e8a435369b899132.tar.gz |
Revert "display: Do not move X11 input focus during grabs"
This patch unfortunately results in situations where it is intended
that the focus change happens while a grab is present (e.g. Alt+tab
popup), resulting in confused focus state.
This commit is reverted in order to try a similar approach at a
different level.
This reverts commit 7531669b4ffe90fcddb54efd51d2f1edf4e77430.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2832>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/display.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/display.c b/src/core/display.c index 71b3747a5..c82ea47ba 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1469,9 +1469,7 @@ meta_display_set_input_focus (MetaDisplay *display, if (meta_display_timestamp_too_old (display, ×tamp)) return; - - if (display->x11_display && - meta_display_windows_are_interactable (display)) + if (display->x11_display) { meta_x11_display_set_input_focus (display->x11_display, window, focus_frame, timestamp); |