pinosaur
/
st.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A different double buffering strategy so the background is default set.
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
163f160
..
a992005
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-436,7
+436,7
@@
typedef struct {
* the current length of used elements.
*/
* the current length of used elements.
*/
-static Fontcache frc[
2048
];
+static Fontcache frc[
1024
];
static int frccur = -1, frclen = 0;
ssize_t
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");
/* double buffering */
if(!XdbeQueryExtension(xw.dpy, &major, &minor))
die("Xdbe extension is not present\n");
- xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, Xdbe
Copie
d);
+ xw.buf = XdbeAllocateBackBufferName(xw.dpy, xw.win, Xdbe
Backgroun
d);
/* Xft rendering context */
xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);
/* Xft rendering context */
xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);