Adding monochrome patch and anysize-nobar patch

This commit is contained in:
bakkeby 2020-10-23 10:14:00 +02:00
parent 8faa9f3c93
commit ef994f3e6d
4 changed files with 55 additions and 1 deletions

9
x.c
View file

@ -1752,7 +1752,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
xclear(winx, winy + win.ch, winx + width, win.h);
#endif // ANYSIZE_PATCH
/* 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);
/* Set the clip region because Xft is sometimes dirty. */
@ -2394,6 +2394,13 @@ run(void)
}
}
#if ANYSIZE_NOBAR_PATCH
/* Refresh before drawing */
cresize(0, 0);
redraw();
xhints();
#endif // ANYSIZE_NOBAR_PATCH
#if VISUALBELL_1_PATCH
if (bellon) {
bellon++;