From 6f6b3437213390084236f5c59b0f47eea0c5f49f Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Sat, 9 Jun 2018 21:53:04 +0200 Subject: [PATCH 1/1] 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. --- surf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/surf.c b/surf.c index f01a91c..a5cc5a7 100644 --- 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) -- 2.20.1