summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-11-24 19:24:42 +0400
committerGitHub <noreply@github.com>2023-11-24 19:24:42 +0400
commit6017326d8293b67eff952ebba2310ea070537f55 (patch)
tree8b36e70e281ae0683ffaf85634878ce7b9495082 /Cargo.lock
parent1152aea66a4bf254973712da03489f781c3e15de (diff)
downloadalacritty-6017326d8293b67eff952ebba2310ea070537f55.tar.gz
alacritty-6017326d8293b67eff952ebba2310ea070537f55.zip
Fix IME popup positioning
When setting cursor area, the popup will be placed either above or below not obscuring the supplied region, however we were still offsetting line with `+1` putting the cursor at the bottom of the line, and given that area is from the top-left corner, the wrong area was marked for not being obscured. It was also discovered that some compositors, like GNOME, position IME in the bottom right corner of the supplied region, which is wrong, but it renders IME popup not very useful, since it's far away from the place it should be, thus try to not obscure just a few characters near the cursor. Given that X11 doesn't support area setting, it uses the old logic with offsetting. Co-developed-by: lilydjwg <lilydjwg@gmail.com> Signed-off-by: lilydjwg <lilydjwg@gmail.com>
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions