ZIm/crates/gpui/src/platform/linux
Thorsten Ball ee623f77c1
linux/x11: Restore differentiation of mouse/keyboard focus (#13995)
This restores https://github.com/zed-industries/zed/pull/13943 which was
reverted in #13974 because it was possible to get in a state where focus
could not be restored on a window.

In this PR there's an additional change: `FocusIn` and `FocusOut` events
are always handled, even if the `event.mode` is not "NORMAL". In my
testing, `alt-tabbing` between windows didn't produce `FocusIn` and
`FocusOut` events when we had that check. Now, with the check removed,
it's possible to switch focus between two windows again with `alt-tab`.


Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-07-10 19:54:26 +02:00
..
headless x11 calloop 2 (#13955) 2024-07-08 18:38:36 -06:00
wayland linux/x11: Restore differentiation of mouse/keyboard focus (#13995) 2024-07-10 19:54:26 +02:00
x11 linux/x11: Restore differentiation of mouse/keyboard focus (#13995) 2024-07-10 19:54:26 +02:00
dispatcher.rs x11 calloop 2 (#13955) 2024-07-08 18:38:36 -06:00
headless.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00
platform.rs Add support for numpad keys on linux (#14018) 2024-07-09 12:07:48 -07:00
wayland.rs wayland: Refactor clipboard implementation (#12405) 2024-06-18 10:04:19 -07:00
x11.rs x11: Add XIM support (#11657) 2024-05-16 15:13:51 -07:00
xdg_desktop_portal.rs x11 calloop 2 (#13955) 2024-07-08 18:38:36 -06:00