Index: ash/accelerators/accelerator_dispatcher_linux.cc |
diff --git a/ash/accelerators/accelerator_dispatcher_linux.cc b/ash/accelerators/accelerator_dispatcher_linux.cc |
index f129b645b908410e607cb76b9bdc72eac49d6874..130b6034c41856d4ebf2aaa8a78728377cfde0a4 100644 |
--- a/ash/accelerators/accelerator_dispatcher_linux.cc |
+++ b/ash/accelerators/accelerator_dispatcher_linux.cc |
@@ -64,7 +64,11 @@ class AcceleratorDispatcherLinux : public AcceleratorDispatcher, |
if (IsKeyEvent(event)) { |
ui::KeyEvent key_event(event, false); |
if (MenuClosedForPossibleAccelerator(key_event)) { |
+#if defined(USE_X11) |
XPutBackEvent(event->xany.display, event); |
+#else |
+ NOTIMPLEMENTED(); |
+#endif |
return ui::POST_DISPATCH_QUIT_LOOP; |
} |