mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
3DFileViewer: Propagate key events to the window
Before this, shortcuts would not work due to key events not being propagated to the window.
This commit is contained in:
parent
0c577b4b3b
commit
610f1a5aab
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/Names4Noobs Commit: https://github.com/SerenityOS/serenity/commit/610f1a5aab Pull-request: https://github.com/SerenityOS/serenity/pull/16144 Reviewed-by: https://github.com/Zaggy1024 ✅
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ void GLContextWidget::keydown_event(GUI::KeyEvent& event)
|
|||
window()->set_fullscreen(false);
|
||||
return;
|
||||
}
|
||||
|
||||
event.ignore();
|
||||
}
|
||||
|
||||
void GLContextWidget::timer_event(Core::TimerEvent&)
|
||||
|
|
Loading…
Reference in a new issue