zed/crates/gpui_linux
MostlyK 6694a3bd14
gpui: Implement pinch event support for X11 and Windows (#51354)
Closes #51312 

- Remove platform-specific #[cfg] gates from PinchEvent, event
  listeners, and dispatch logic in GPUI
- Windows: Intercept Ctrl+ScrollWheel (emitted by precision trackpads
  for pinch gestures) and convert them to GPUI PinchEvents
- Image Viewer: remove redundant platform-specific blocks
- X11: Bump XInput version to 2.4 and implement handlers for
  XinputGesturePinch events


- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Pinching gestures now available on all devices.

---------

Co-authored-by: John Tur <john-tur@outlook.com>
2026-03-28 18:41:33 -04:00
..
src gpui: Implement pinch event support for X11 and Windows (#51354) 2026-03-28 18:41:33 -04:00
Cargo.toml wGPU: Select more specifically (#50528) 2026-03-02 13:30:40 -07:00
LICENSE-APACHE gpui: Extract gpui_platform out of gpui (#49277) 2026-02-19 18:57:49 +01:00