Index: ash/wm/window_cycle_controller.cc |
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc |
index ca58f04fe7340a2b3fb456a63bd42b0ba0a387d4..12d880f0d2e66026e920dee741e8bae5c2fb8585 100644 |
--- a/ash/wm/window_cycle_controller.cc |
+++ b/ash/wm/window_cycle_controller.cc |
@@ -47,6 +47,9 @@ WindowCycleEventFilter::~WindowCycleEventFilter() { |
} |
void WindowCycleEventFilter::OnKeyEvent(ui::KeyEvent* event) { |
+ // Until the alt key is released, all key events are handled by this window |
+ // cycle controller: https://crbug.com/340339. |
+ event->StopPropagation(); |
// Views uses VKEY_MENU for both left and right Alt keys. |
if (event->key_code() == ui::VKEY_MENU && |
event->type() == ui::ET_KEY_RELEASED) { |