diff options
Diffstat (limited to 'chromeos')
-rw-r--r-- | chromeos/ime/xkeyboard.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/ime/xkeyboard.cc b/chromeos/ime/xkeyboard.cc index 7714e20..e0e69cf 100644 --- a/chromeos/ime/xkeyboard.cc +++ b/chromeos/ime/xkeyboard.cc @@ -153,7 +153,7 @@ unsigned int XKeyboardImpl::GetNumLockMask() { if (!xkb_desc) return kBadMask; - if (xkb_desc->dpy && xkb_desc->names && xkb_desc->names->vmods) { + if (xkb_desc->dpy && xkb_desc->names) { const std::string string_to_find(kNumLockVirtualModifierString); for (size_t i = 0; i < XkbNumVirtualMods; ++i) { const unsigned int virtual_mod_mask = 1U << i; |