Explorar el Código

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 hace 1 año
padre
commit
d392375a08
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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;
     }