1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:05:00 +00:00

Revert "Browser: Allow system shortcuts to function"

This reverts commit 2e8ff1855c.

We had some awkward timing around the merging of this commit and commit
b073fdd570. With both commits in tree, we
are now processing hotkey activations twice. For example, ctrl+t will
open 2 tabs.
This commit is contained in:
Timothy Flynn 2024-03-03 12:06:39 -05:00 committed by Andreas Kling
parent a099d0e140
commit d392375a08

View file

@ -718,10 +718,6 @@ void BrowserWindow::event(Core::Event& event)
case GUI::Event::Resize: case GUI::Event::Resize:
broadcast_window_size(static_cast<GUI::ResizeEvent&>(event).size()); broadcast_window_size(static_cast<GUI::ResizeEvent&>(event).size());
break; break;
case GUI::Event::KeyDown:
// FIXME: add support for hotkeys *within* ladybird
event.ignore();
break;
default: default:
break; break;
} }