fbtk, textbox, limit selection height to font size
This commit is contained in:
parent
375e41bb37
commit
3ae7b81ae1
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ void TextBox::clear() {
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue