Explorar o código

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

Christoph Lohmann %!s(int64=12) %!d(string=hai) anos
pai
achega
15c2bff9fa
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      st.c

+ 1 - 2
st.c

@@ -2538,7 +2538,7 @@ xinit(void) {
 	*/
 
 	/* 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 */
 	if((xw.xim =  XOpenIM(xw.dpy, NULL, NULL, NULL)) == NULL) {
@@ -2836,7 +2836,6 @@ redraw(int timeout) {
 	struct timespec tv = {0, timeout * 1000};
 
 	tfulldirt();
-	fprintf(stderr, "draw from redraw\n");
 	draw();
 
 	if(timeout > 0) {