diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-04 20:23:53 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-04 20:23:53 +0530 |
commit | b7d827af67ba0ec162747362151c1f83746cbf26 (patch) | |
tree | dd973b66a245a23907a18aa219196ec34ca0e49b /x.c.rej | |
parent | 54c46dc5bab7f924e3bbd203a6d04807c97fd720 (diff) |
applied vertcenter patch
Diffstat (limited to 'x.c.rej')
-rw-r--r-- | x.c.rej | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +--- x.c Tue Mar 20 00:28:57 2018 ++++ x.c Tue Mar 20 00:29:02 2018 +@@ -1373,12 +1375,12 @@ + + /* Render underline and strikethrough. */ + if (base.mode & ATTR_UNDERLINE) { +- XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent + 1, ++ XftDrawRect(xw.draw, fg, winx, winy + win.cyo + dc.font.ascent + 1, + width, 1); + } + + if (base.mode & ATTR_STRUCK) { +- XftDrawRect(xw.draw, fg, winx, winy + 2 * dc.font.ascent / 3, ++ XftDrawRect(xw.draw, fg, winx, winy + win.cyo + 2 * dc.font.ascent / 3, + width, 1); + } + |