servo/components/compositing
Jonathan Schwender 1ea80c4335
touch: Fix panic with -Zconvert-mouse-to-touch (#36531)
- We previously converted all mouse move events to touch events, but we
should only be doing that while a mouse button is pressed (a finger
always does touch-down -> move -> up / cancel)
- Only consider Left mouse button for mouse-to-touch. We currently
already hardcode TouchId 0, which we would need to change in order to
properly support Multi-touch. Since we don't have any Multi-touch
gestures at the moment, we leave this unimplemented and simply only
evaluate the left mouse button.

Testing:  Manual testing. We don't have servodriver support yet.
Fixes: #36526

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-04-15 09:59:30 +00:00
..
Cargo.toml libservo: Remove the unused multiview feature (#36485) 2025-04-14 07:46:07 +00:00
compositor.rs Revert "compositor: Unify the cross process and in-process API (#36443)" (#36533) 2025-04-15 09:15:14 +00:00
lib.rs Revert "compositor: Unify the cross process and in-process API (#36443)" (#36533) 2025-04-15 09:15:14 +00:00
touch.rs touch: Fix panic with -Zconvert-mouse-to-touch (#36531) 2025-04-15 09:59:30 +00:00
tracing.rs Revert "compositor: Unify the cross process and in-process API (#36443)" (#36533) 2025-04-15 09:15:14 +00:00
webview.rs touch: Fix panic with -Zconvert-mouse-to-touch (#36531) 2025-04-15 09:59:30 +00:00
webview_manager.rs Separate WebviewManager from Webview in compositor and constellation (#36302) 2025-04-04 07:34:19 +00:00
windowing.rs libservo: Make zooming and HiDPI scaling work per-WebView (#36419) 2025-04-14 12:01:49 +00:00