X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=a99200583d462ba8346db6e44d1e395acddeb17d;hb=b3326ab63be167ddd883dbf7be33603f38bbd31d;hp=701019558d21104c1467610b85619fbc9450b413;hpb=c772a6e5719aa24d10d664262383b76a36e3458b;p=st.git diff --git a/st.c b/st.c index 7010195..a992005 100644 --- a/st.c +++ b/st.c @@ -436,7 +436,7 @@ typedef struct { * the current length of used elements. */ -static Fontcache frc[2]; +static Fontcache frc[1024]; static int frccur = -1, frclen = 0; ssize_t @@ -2497,7 +2497,7 @@ xinit(void) { /* double buffering */ if(!XdbeQueryExtension(xw.dpy, &major, &minor)) die("Xdbe extension is not present\n"); - xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, XdbeCopied); + xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, XdbeBackground); /* Xft rendering context */ xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);