From d392375a08d2f6740e5accc0d7d101de95e98a37 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 3 Mar 2024 12:06:39 -0500 Subject: [PATCH] Revert "Browser: Allow system shortcuts to function" This reverts commit 2e8ff1855c470094bf6aa6448cbe8173f1d79f92. We had some awkward timing around the merging of this commit and commit b073fdd5707277d0cc23c75f494ae31a5242705e. With both commits in tree, we are now processing hotkey activations twice. For example, ctrl+t will open 2 tabs. --- Userland/Applications/Browser/BrowserWindow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp index f15429b09c..47659ae462 100644 --- a/Userland/Applications/Browser/BrowserWindow.cpp +++ b/Userland/Applications/Browser/BrowserWindow.cpp @@ -718,10 +718,6 @@ void BrowserWindow::event(Core::Event& event) case GUI::Event::Resize: broadcast_window_size(static_cast(event).size()); break; - case GUI::Event::KeyDown: - // FIXME: add support for hotkeys *within* ladybird - event.ignore(); - break; default: break; }