summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2013-01-19 15:49:34 +0100
committerChristoph Lohmann2013-01-19 15:49:34 +0100
commit15c2bff9faa87644abf96c19b17133d03d40b974 (patch)
tree05564314741a8198eec2617c98ed4d61fcd12c3e
parentc7b033b8f0a31ec08d3d9dafa390b24c6e232e09 (diff)
downloadst-15c2bff9faa87644abf96c19b17133d03d40b974.tar.gz
st-15c2bff9faa87644abf96c19b17133d03d40b974.tar.xz
st-15c2bff9faa87644abf96c19b17133d03d40b974.zip
Yes, xft should be on the buffer. Thanks Mihail Zenkov.
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index ef78896..7b0fb21 100644
--- a/st.c
+++ b/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) {