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.
This commit is contained in:
Quentin Rameau committed 2018-06-09 21:55:20 +02:00
1 parent 81f0452bc6
commit 6f6b343721
1 file changed
+1
+1
View File
@@ -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)