aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-09 18:43:52 -0600
committerTim Keller <tjkeller.xyz>2025-01-09 18:43:52 -0600
commit296c863791a47eabd4ec64c35686d7eaf000709c (patch)
tree3330b7d9c98ab597bfdaec5e45cafffa57f26d1b /x.c
parent841d8dd61934d0df0d76f0cdca92b6cb8390f260 (diff)
downloadst-296c863791a47eabd4ec64c35686d7eaf000709c.tar.xz
st-296c863791a47eabd4ec64c35686d7eaf000709c.zip
fix the minus signs lol
Diffstat (limited to 'x.c')
-rw-r--r--x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/x.c b/x.c
index 933943d..e2c7bdc 100644
--- a/x.c
+++ b/x.c
@@ -1994,16 +1994,16 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
case 3: /* Blinking Underline */
case 4: /* Steady Underline */
XftDrawRect(xw.draw, &drawcol,
-- borderpx + cx * win.cw,
-- borderpx + (cy + 1) * win.ch - \
+ borderpx + cx * win.cw,
+ borderpx + (cy + 1) * win.ch - \
cursorthickness,
win.cw, cursorthickness);
break;
case 5: /* Blinking bar */
case 6: /* Steady bar */
XftDrawRect(xw.draw, &drawcol,
-- borderpx + cx * win.cw,
-- borderpx + cy * win.ch,
+ borderpx + cx * win.cw,
+ borderpx + cy * win.ch,
cursorthickness, win.ch);
break;
}