surf

my build of surf
git clone git://git.ckyln.com/~cem/surf.git
Log | Files | Refs | README | LICENSE

commit 6f6b3437213390084236f5c59b0f47eea0c5f49f
parent 81f0452bc6c2a110239fa303ad1e72f11c33dc94
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:
Msurf.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/surf.c b/surf.c @@ -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)