Index: ui/aura/desktop_host_linux.cc |
diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc |
index 6025de5a7e1bc84eb8ed114a8fabe0d5e7457be6..102761d3bf0b16bc5f61dfecdf6aa06a3202b4a0 100644 |
--- a/ui/aura/desktop_host_linux.cc |
+++ b/ui/aura/desktop_host_linux.cc |
@@ -467,6 +467,12 @@ base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch( |
handled = true; |
break; |
} |
+ case MappingNotify: { |
+ if (xev->xmapping.request == MappingModifier || |
+ xev->xmapping.request == MappingKeyboard) |
+ XRefreshKeyboardMapping(&xev->xmapping); |
+ break; |
+ } |
case MotionNotify: { |
// Discard all but the most recent motion event that targets the same |
// window with unchanged state. |