Commit 18132ac1 authored by oshima@chromium.org's avatar oshima@chromium.org

Refresh keyboard mapping when it's updated.

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8804027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113153 0039d316-1c4b-4281-b951-d872f2087c98
parent e19976d6
...@@ -467,6 +467,12 @@ base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch( ...@@ -467,6 +467,12 @@ base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch(
handled = true; handled = true;
break; break;
} }
case MappingNotify: {
if (xev->xmapping.request == MappingModifier ||
xev->xmapping.request == MappingKeyboard)
XRefreshKeyboardMapping(&xev->xmapping);
break;
}
case MotionNotify: { case MotionNotify: {
// Discard all but the most recent motion event that targets the same // Discard all but the most recent motion event that targets the same
// window with unchanged state. // window with unchanged state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment