tForce printing the winid when requested - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6f6b3437213390084236f5c59b0f47eea0c5f49f
(DIR) parent 81f0452bc6c2a110239fa303ad1e72f11c33dc94
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 9 Jun 2018 21:53:04 +0200
Force printing the winid when requested
Do not wait for the libc to decide flushing buffers, force it ourselves.
Thanks to koniu for reporting the issue.
Diffstat:
M surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -1315,6 +1315,7 @@ showview(WebKitWebView *v, Client *c)
if (showxid) {
gdk_display_sync(gtk_widget_get_display(c->win));
puts(winid);
+ fflush(stdout);
}
if (curconfig[HideBackground].val.i)