[hackers] [st] Yes, xft should be on the buffer. Thanks Mihail Zenkov. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sat, 19 Jan 2013 15:49:55 +0100

commit 15c2bff9faa87644abf96c19b17133d03d40b974
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Jan 19 15:49:34 2013 +0100

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

diff --git a/st.c b/st.c
index ef78896..7b0fb21 100644
--- a/st.c
+++ b/st.c
_AT_@ -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) {
_AT_@ -2836,7 +2836,6 @@ redraw(int timeout) {
         struct timespec tv = {0, timeout * 1000};
 
         tfulldirt();
- fprintf(stderr, "draw from redraw
");
         draw();
 
         if(timeout > 0) {
Received on Sat Jan 19 2013 - 15:49:55 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 19 2013 - 16:00:09 CET