A different double buffering strategy so the background is default set. - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b3326ab63be167ddd883dbf7be33603f38bbd31d
 (DIR) parent f741df9cda4d4aa597cf9eff4ac62a610daf44f2
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Tue,  8 Jan 2013 20:09:33 +0100
       
       A different double buffering strategy so the background is default set.
       
       Diffstat:
         M st.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git 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);