diff options
author | Tim Keller <tjkeller.xyz> | 2025-01-09 18:43:52 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-01-09 18:43:52 -0600 |
commit | 296c863791a47eabd4ec64c35686d7eaf000709c (patch) | |
tree | 3330b7d9c98ab597bfdaec5e45cafffa57f26d1b | |
parent | 841d8dd61934d0df0d76f0cdca92b6cb8390f260 (diff) | |
download | st-296c863791a47eabd4ec64c35686d7eaf000709c.tar.xz st-296c863791a47eabd4ec64c35686d7eaf000709c.zip |
fix the minus signs lol
-rw-r--r-- | x.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |