Ver código fonte

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

Christoph Lohmann 12 anos atrás
pai
commit
b3326ab63b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      st.c

+ 1 - 1
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);