A different double buffering strategy so the background is default set.
authorChristoph Lohmann <20h@r-36.net>
Tue, 8 Jan 2013 19:09:33 +0000 (20:09 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 8 Jan 2013 19:09:33 +0000 (20:09 +0100)
st.c

diff --git a/st.c b/st.c
index 6f5ca80..a992005 100644 (file)
--- a/st.c
+++ b/st.c
@@ -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);