]> git.sur5r.net Git - i3/i3/commit
Fix incorrect y-offset for text in i3bar (2) 1549/head
authorshdown <shdownnine@gmail.com>
Sun, 15 Mar 2015 07:32:17 +0000 (10:32 +0300)
committershdown <shdownnine@gmail.com>
Sun, 15 Mar 2015 07:32:17 +0000 (10:32 +0300)
commit123de9a25f341bc66beed0189f70132a4f589960
tree51308b00b9af9d4b5f1c42f4583fc71d8df9d006
parent10a58725cd481192576f5598cfd0f2d7fea88b13
Fix incorrect y-offset for text in i3bar (2)

014aa7ff7441a8a2bb53bd0956aff61faaf6f37f fixed incorrect align of small
symbols, but also introduced a problem with texts with mixed large and
normal symbols. Fix it by centering the text vertically only if its
height is smaller that the saved font height.
Fixes #1543.
libi3/font.c