aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-01-08 20:09:33 +0100
committerChristoph Lohmann <20h@r-36.net>2013-01-08 20:09:33 +0100
commitb3326ab63be167ddd883dbf7be33603f38bbd31d (patch)
treefab8f6291622f12ffcf661b63f552687ac6bf7f0 /st.c
parentf741df9cda4d4aa597cf9eff4ac62a610daf44f2 (diff)
downloadst-b3326ab63be167ddd883dbf7be33603f38bbd31d.tar.gz
st-b3326ab63be167ddd883dbf7be33603f38bbd31d.tar.bz2
A different double buffering strategy so the background is default set.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
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);