mirror of
https://github.com/alrayyes/st.git
synced 2024-11-22 19:26:22 +00:00
A different double buffering strategy so the background is default set.
This commit is contained in:
parent
f741df9cda
commit
b3326ab63b
1 changed files with 1 additions and 1 deletions
2
st.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue