Browse Source

Yes, xft should be on the buffer. Thanks Mihail Zenkov.

master
Christoph Lohmann 12 years ago
parent
commit
15c2bff9fa
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      st.c

+ 1
- 2
st.c View File

@ -2538,7 +2538,7 @@ xinit(void) {
*/ */
/* Xft rendering context */ /* Xft rendering context */
xw.draw = XftDrawCreate(xw.dpy, xw.win, xw.vis, xw.cmap);
xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);
/* input methods */ /* input methods */
if((xw.xim = XOpenIM(xw.dpy, NULL, NULL, NULL)) == NULL) { if((xw.xim = XOpenIM(xw.dpy, NULL, NULL, NULL)) == NULL) {
@ -2836,7 +2836,6 @@ redraw(int timeout) {
struct timespec tv = {0, timeout * 1000}; struct timespec tv = {0, timeout * 1000};
tfulldirt(); tfulldirt();
fprintf(stderr, "draw from redraw\n");
draw(); draw();
if(timeout > 0) { if(timeout > 0) {


Loading…
Cancel
Save