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

Unified Diff: base/message_pump_glib_x.cc

Issue 7019007: Update the X11 keycodes when keys are remapped. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unify Created 9 years, 7 months 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 | « no previous file | chrome/browser/chromeos/system_key_event_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_glib_x.cc
diff --git a/base/message_pump_glib_x.cc b/base/message_pump_glib_x.cc
index b4d677ef25effef3f03bbcabe3f5708b9d7d2f51..64248048d08df2546ac134a88fde82587ae13f2c 100644
--- a/base/message_pump_glib_x.cc
+++ b/base/message_pump_glib_x.cc
@@ -79,7 +79,6 @@ bool MessagePumpGlibX::RunOnce(GMainContext* context, bool block) {
should_quit = true;
Quit();
} else if (status == MessagePumpGlibXDispatcher::EVENT_IGNORED) {
- DLOG(WARNING) << "Event (" << xev.type << ") not handled.";
}
}
@@ -171,6 +170,8 @@ void MessagePumpGlibX::InitializeEventsToCapture(void) {
capture_x_events_[MotionNotify] = true;
capture_gdk_events_[GDK_MOTION_NOTIFY] = true;
+ capture_x_events_[MappingNotify] = true;
+
#if defined(HAVE_XINPUT2)
capture_x_events_[GenericEvent] = true;
#endif
« no previous file with comments | « no previous file | chrome/browser/chromeos/system_key_event_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698