tUse XSync() instead of XFlush() - spoon - dwm status utility (2f30 fork)
(HTM) git clone git://src.adamsgaard.dk/spoon
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 220e144b8b8571343211d22f246a5477cbc305d0
(DIR) parent 20a26c2c7e1b352771bda8dad88573fdbcb3ade2
(HTM) Author: sin <sin@2f30.org>
Date: Sun, 15 May 2016 16:38:42 +0100
Use XSync() instead of XFlush()
Diffstat:
M spoon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/spoon.c b/spoon.c
t@@ -201,7 +201,7 @@ loop(void)
for (;;) {
entcat(line, sizeof(line));
XStoreName(dpy, root, line);
- XFlush(dpy);
+ XSync(dpy, False);
sleep(1);
}
}