DescriptionListen to XI_HierarchyChanged events and call setxkbmap when needed.
BUG=chromium-os:15851
BUG=chromium-os:15516
BUG=84694
TEST=manually done: Log in, change the layout from US Qwerty (US) to US Extended (EXTD), focus Omnibox, press AltGr+a, confirm á is shown, plug a USB keyboard, press AltGr+a, confirm the character again, press ctrl+alt+f2 to show VT2, press ctrl+alt+f1 to go back to X, press AltGr+a, confirm the char again, close lid, open lid, press AltGr+a, confirm the char again.
TEST=On login screen, change the keyboard layout to EXTD, add "sleep 30" to /etc/init/udev-*.conf files, reboot, on login screen, wait for ~30 seconds, press AltGr+a, confirm á is shown.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87585
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87756
Patch Set 1 #
Total comments: 6
Patch Set 2 : review fix #
Total comments: 4
Patch Set 3 : review fix #
Total comments: 4
Patch Set 4 : review fix #Patch Set 5 : added workaround for crbug.com/84694 #
Messages
Total messages: 11 (0 generated)
|