applied the anysize xclear patch
This commit is contained in:
parent
6069051ca1
commit
72d398ae5a
@ -1501,6 +1501,12 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
|||||||
if (winy + win.ch >= win.vborderpx + win.th)
|
if (winy + win.ch >= win.vborderpx + win.th)
|
||||||
xclear(winx, winy + win.ch, winx + width, win.h);
|
xclear(winx, winy + win.ch, winx + width, win.h);
|
||||||
|
|
||||||
|
/* Clear border for anysize patch */
|
||||||
|
xclear(0, 0, win.w, win.vborderpx);
|
||||||
|
xclear(0, 0, win.hborderpx, win.h);
|
||||||
|
xclear(0, win.h - win.vborderpx, win.w, win.vborderpx);
|
||||||
|
xclear(win.w - win.hborderpx, 0, win.hborderpx, win.h);
|
||||||
|
|
||||||
/* Clean up the region we want to draw to. */
|
/* Clean up the region we want to draw to. */
|
||||||
XftDrawRect(xw.draw, bg, winx, winy, width, win.ch);
|
XftDrawRect(xw.draw, bg, winx, winy, width, win.ch);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user