浏览代码

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.
Timothy Flynn 1 年之前
父节点
当前提交
d392375a08
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Userland/Applications/Browser/BrowserWindow.cpp

+ 0 - 4
Userland/Applications/Browser/BrowserWindow.cpp

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