aboutsummaryrefslogtreecommitdiff
path: root/xft.go
diff options
context:
space:
mode:
authorcrecher <crecher@crecher.net>2026-10-26 00:19:42 +0000
committercrecher <crecher@crecher.net>2026-10-26 00:19:42 +0000
commit1db9b13964082042a9578d372723777273c50daa (patch)
tree7c60b907298b4d2c70f5e0fedecd608db03aaee8 /xft.go
parent4e257e15b4ddc25ff222613491f7e16354d2aeb3 (diff)
downloadwm-1db9b13964082042a9578d372723777273c50daa.tar.gz
wm-1db9b13964082042a9578d372723777273c50daa.zip
added configuring via .config file!!
Signed-off-by: crecher <crecher@crecher.net>
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; }