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

Unified Diff: ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc

Issue 959923002: Fix CapsLock remapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
diff --git a/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc b/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
index b1eb22a836d80eb2c8cea44954a94cfc19c865ea..b984229cb10501cef53599516e8156e1732f15d7 100644
--- a/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
+++ b/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
@@ -183,6 +183,7 @@ DomKey NonPrintableXkbKeySymToDomKey(xkb_keysym_t keysym) {
case XKB_KEY_Control_R:
return DomKey::CONTROL;
case XKB_KEY_Caps_Lock:
+ case XKB_KEY_XF86Launch7:
return DomKey::CAPS_LOCK;
case XKB_KEY_Meta_L:
case XKB_KEY_Meta_R:
« ui/events/ozone/evdev/keyboard_evdev.cc ('K') | « ui/events/ozone/layout/layout_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698