]> git.armaanb.net Git - st.git/commitdiff
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 6f5ca8036ee39bfdeaae466bc3e9d7c84f219df9..a99200583d462ba8346db6e44d1e395acddeb17d 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);