mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb+UI+WebContent: Pipe pinch events from AppKit UI to WebContent
This commit is contained in:
parent
e6831003c6
commit
c630de17ab
Notes:
github-actions[bot]
2025-10-10 13:39:44 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: c630de17ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6430
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/konradekk
10 changed files with 86 additions and 1 deletions
|
|
@ -245,6 +245,11 @@ void ConnectionFromClient::drag_event(u64 page_id, Web::DragEvent event)
|
|||
enqueue_input_event({ page_id, move(event), 0 });
|
||||
}
|
||||
|
||||
void ConnectionFromClient::pinch_event(u64 page_id, Web::PinchEvent event)
|
||||
{
|
||||
enqueue_input_event({ page_id, move(event), 0 });
|
||||
}
|
||||
|
||||
void ConnectionFromClient::enqueue_input_event(Web::QueuedInputEvent event)
|
||||
{
|
||||
m_input_event_queue.enqueue(move(event));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue