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 2018-06-09 21:53:04 +02:00
parent 81f0452bc6
commit 6f6b343721
1 changed files with 1 additions and 0 deletions

1
surf.c
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)