[hackers] [st] A different double buffering strategy so the background is default set. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Tue, 08 Jan 2013 20:09:55 +0100

commit b3326ab63be167ddd883dbf7be33603f38bbd31d
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Jan 8 20:09:33 2013 +0100

    A different double buffering strategy so the background is default set.

diff --git a/st.c b/st.c
index 6f5ca80..a992005 100644
--- a/st.c
+++ b/st.c
_AT_@ -2497,7 +2497,7 @@ xinit(void) {
         /* double buffering */
         if(!XdbeQueryExtension(xw.dpy, &major, &minor))
                 die("Xdbe extension is not present
");
- 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);
Received on Tue Jan 08 2013 - 20:09:55 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 08 2013 - 20:12:08 CET