aboutsummaryrefslogtreecommitdiff
path: root/xft.go
diff options
context:
space:
mode:
Diffstat (limited to 'xft.go')
-rw-r--r--xft.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xft.go b/xft.go
index 73ab52b..d1e4e85 100644
--- a/xft.go
+++ b/xft.go
@@ -62,7 +62,7 @@ static void wm_xft_draw(unsigned int win, int x, int y,
XftDrawChange(_drw, (Drawable)win);
wm_xft_setfg(fg);
XftDrawStringUtf8(_drw, &_fg, _ft, x, y, (const FcChar8 *)s, n);
- XFlush(_dpy);
+ XSync(_dpy, False);
}
static int wm_xft_ascent(void) { return _ft ? _ft->ascent : 0; }