• Hidehiko Abe's avatar
    Lacros: Fix cursor key behavior. · c2946be0
    Hidehiko Abe authored
    It turned out current physical key tracking does not work
    if IME is enabled. It is not only for ARC, but also Lacros (as we
    start using IME soon), and crostini in the future when IME is
    fully enabled.
    
    Currently, we have workaround for ARC, so Lacros follows the
    approach for short term.
    We need a long term fix in the future, though.
    
          if there is no composing text.
    
    Bug: 1133651
    Test: Typed cursor key on Lacros window. It works as expected
    Change-Id: Ib709ea852ddbec75d4790cf3aabdf353cade089d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2452273
    Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
    Reviewed-by: default avatarJun Mukai <mukai@chromium.org>
    Reviewed-by: default avatarYuichiro Hanada <yhanada@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#815475}
    c2946be0
keyboard.cc 18.1 KB