mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Fire "keyup" events as well :^)
This was easy, now that we have KeyboardEvent.
This commit is contained in:
parent
554c344ffe
commit
0af0ee4293
Notes:
sideshowbarker
2024-07-18 03:22:27 +09:00
Author: https://github.com/awesomekling
Commit: 0af0ee4293
10 changed files with 28 additions and 0 deletions
|
@ -161,6 +161,11 @@ void OutOfProcessWebView::keydown_event(GUI::KeyEvent& event)
|
|||
client().async_key_down(event.key(), event.modifiers(), event.code_point());
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::keyup_event(GUI::KeyEvent& event)
|
||||
{
|
||||
client().async_key_up(event.key(), event.modifiers(), event.code_point());
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
client().async_mouse_down(to_content_position(event.position()), event.button(), event.buttons(), event.modifiers());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue