[vte/wip/egmont/bidi: 57/83] fix ibeam on rtl cjk
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/egmont/bidi: 57/83] fix ibeam on rtl cjk
- Date: Thu, 3 Jan 2019 12:58:11 +0000 (UTC)
commit 2ac6a5225bdd24158c9648e56b7a1f3db19edffa
Author: Egmont Koblinger <egmont gmail com>
Date: Thu Aug 30 02:17:59 2018 +0200
fix ibeam on rtl cjk
src/vte.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 33cf9ffc..1bb8cfde 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -9207,7 +9207,7 @@ Terminal::paint_cursor()
// beyond the end of the string, as KDE/Qt does. Maybe not just for I-beam.
if (row_data && bidirow->vis_is_rtl(viscol))
- x += m_cell_width - stem_width;
+ x += item.columns * m_cell_width - stem_width;
_vte_draw_fill_rectangle(m_draw,
x, y + m_char_padding.top, stem_width, m_char_ascent +
m_char_descent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]