[hackers] [surf/surf-webkit2] Force printing the winid when requested || Quentin Rameau
commit 6f6b3437213390084236f5c59b0f47eea0c5f49f
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Jun 9 21:53:04 2018 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sat Jun 9 21:55:20 2018 +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.
diff --git a/surf.c b/surf.c
index f01a91c..a5cc5a7 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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)
Received on Sat Jun 09 2018 - 21:57:19 CEST
This archive was generated by hypermail 2.3.0
: Sat Jun 09 2018 - 22:00:25 CEST