mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb+UI+WebContent: Pipe pinch events from AppKit UI to WebContent
This commit is contained in:
committed by
Alexander Kalenik
parent
e6831003c6
commit
c630de17ab
Notes:
github-actions[bot]
2025-10-10 13:39:44 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/c630de17ab5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6430 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/konradekk
@@ -290,6 +290,9 @@ void EventLoop::process_input_events() const
|
||||
},
|
||||
[&](Web::DragEvent& drag_event) {
|
||||
return page.handle_drag_and_drop_event(drag_event.type, drag_event.position, drag_event.screen_position, drag_event.button, drag_event.buttons, drag_event.modifiers, move(drag_event.files));
|
||||
},
|
||||
[&](Web::PinchEvent&) {
|
||||
return EventResult::Dropped;
|
||||
});
|
||||
|
||||
for (size_t i = 0; i < event.coalesced_event_count; ++i)
|
||||
|
||||
Reference in New Issue
Block a user