summaryrefslogtreecommitdiff
path: root/x.c.rej
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 20:23:53 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-09-04 20:23:53 +0530
commitb7d827af67ba0ec162747362151c1f83746cbf26 (patch)
treedd973b66a245a23907a18aa219196ec34ca0e49b /x.c.rej
parent54c46dc5bab7f924e3bbd203a6d04807c97fd720 (diff)
applied vertcenter patch
Diffstat (limited to 'x.c.rej')
-rw-r--r--x.c.rej17
1 files changed, 17 insertions, 0 deletions
diff --git a/x.c.rej b/x.c.rej
new file mode 100644
index 0000000..386489c
--- /dev/null
+++ b/x.c.rej
@@ -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);
+ }
+