fbtk, textbox, limit selection height to font size
Pete Beardmore pete.beardmore@msn.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/TextBox.cc
→
src/FbTk/TextBox.cc
@@ -235,7 +235,7 @@ XGCValues backup;
XGetGCValues(dpy, gc(), GCForeground|GCBackground, &backup); XSetForeground(dpy, gc(), backup.foreground); - fillRectangle(gc(), x, 0, width, height()); + fillRectangle(gc(), x, (height()-font().height())/2, width, font().height()); XColor c; c.pixel = backup.foreground;