Files
vectorcraft/docs
dotCooCoo 8cd15651fb Canvas: a touchpad pinch zooms on native Wayland
Fixes #5981. The winit patch rev moves from a517b384 to 0dfcec0e
(storytold/winit craft/0.30.13, with storytold/winit#20), whose Wayland
backend binds zwp_pointer_gestures_v1 and reports a touchpad pinch and
rotation as PinchGesture and RotationGesture. egui-winit turns them into
Event::Zoom and Event::Rotate, which the canvas already reads, so a pinch
zooms about the pointer and a two-finger turn rotates the view. Before,
winit's Wayland backend never bound the protocol, so the gesture never
reached the app. X11 and XWayland still report no pinch.

The same winit range types an Alt + keypad code's character itself on
Windows (W36: the WM_CHAR after Alt's release becomes a key press with
that text). windows_alt_codes typed it too, which would type it twice, so
it now only takes the keypad digits typed with Alt out of the frame.

Docs: docs/hardware-parity.md (Trackpad row, Linux), docs/type-parity.md
(Alt + numeric-keypad codes row).
2026-11-29 12:33:55 -08:00
..
2026-11-29 22:41:45 +05:30
…