summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Quentin Rameau 2018-06-09 21:53:04 +0200
committerGravatar Quentin Rameau 2018-06-09 21:55:20 +0200
commit6f6b3437213390084236f5c59b0f47eea0c5f49f (patch)
treee3149491961e943bd353ff2627ded0e9e0c8c546
parentDocument SIGHUP in manpage (diff)
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 (limited to '')
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
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)