x11: Differentiate between mouse and keyboard focus (#13943)

Fixes https://github.com/zed-industries/zed/issues/13897

Release Notes:

- N/A
This commit is contained in:
apricotbucket28 2024-07-08 16:59:30 -03:00 committed by GitHub
parent 032b203519
commit 75377bbe0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 12 deletions

View file

@ -450,6 +450,7 @@ impl X11WindowState {
xinput::XIEventMask::MOTION
| xinput::XIEventMask::BUTTON_PRESS
| xinput::XIEventMask::BUTTON_RELEASE
| xinput::XIEventMask::ENTER
| xinput::XIEventMask::LEAVE,
],
}],