1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +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:
Names4Noobs 2022-11-21 20:26:53 -05:00 committed by Sam Atkins
parent 0c577b4b3b
commit 610f1a5aab

View file

@ -198,6 +198,8 @@ void GLContextWidget::keydown_event(GUI::KeyEvent& event)
window()->set_fullscreen(false);
return;
}
event.ignore();
}
void GLContextWidget::timer_event(Core::TimerEvent&)