st-unfocused-cursor-0.1.diff (537B)
1 diff --git a/x.c b/x.c 2 index d19bb3f..c9f2057 100644 3 --- a/x.c 4 +++ b/x.c 5 @@ -1618,7 +1618,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og) 6 break; 7 } 8 } else { 9 - XftDrawRect(xw.draw, &drawcol, 10 +/* XftDrawRect(xw.draw, &drawcol, 11 win.hborderpx + cx * win.cw, 12 win.vborderpx + cy * win.ch, 13 win.cw - 1, 1); 14 @@ -1634,6 +1634,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og) 15 win.hborderpx + cx * win.cw, 16 win.vborderpx + (cy + 1) * win.ch - 1, 17 win.cw, 1); 18 +*/ 19 } 20 } 21