From: Christoph Lohmann <20h@r-36.net>
Date: Tue, 8 Jan 2013 19:09:33 +0000 (+0100)
Subject: A different double buffering strategy so the background is default set.
X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=b3326ab63be167ddd883dbf7be33603f38bbd31d;p=st.git

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
@@ -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);