all repos — fluxbox @ 375e41bb37da296e5d7803c7ea97d9320516cba7

custom fork of the fluxbox windowmanager

fbtk, textbox, fix cursor position and size

-use font height for cursor
-prefer 'descent to ascent' coverage as opposed to 'baseline plus
way too high'!
Pete Beardmore pete.beardmore@msn.com
commit

375e41bb37da296e5d7803c7ea97d9320516cba7

parent

79ce3ef424754d65081957121dcbe6efbc1885d2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/FbTk/TextBox.ccsrc/FbTk/TextBox.cc

@@ -250,7 +250,7 @@ }

// draw cursor position - drawLine(gc(), cursor_pos, center_pos, cursor_pos, center_pos - font().height()); + drawLine(gc(), cursor_pos, height()/2 + font().ascent()/2, cursor_pos, height()/2 - font().ascent()/2); } void TextBox::moveResize(int x, int y,