Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: ui/aura/desktop_host_linux.cc

Issue 8808001: Aura: Convert keysym to kyeycode when posting XKeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/ui_controls_aurax11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b3a080689a19c6bd42ae2491f0b612f03f29c8bc 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -467,6 +467,10 @@ base::MessagePumpDispatcher::DispatchStatus DesktopHostLinux::Dispatch(
handled = true;
break;
}
+ case MappingNotify: {
+ XRefreshKeyboardMapping(&xev->xmapping);
Daniel Erat 2011/12/05 20:39:36 nit: i think that this should be: if (xev->xmappi
oshima 2011/12/05 20:57:28 Done.
+ break;
+ }
case MotionNotify: {
// Discard all but the most recent motion event that targets the same
// window with unchanged state.
« no previous file with comments | « chrome/browser/automation/ui_controls_aurax11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698