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:
parent
81f0452bc6
commit
6f6b343721
1
surf.c
1
surf.c
|
@ -1315,6 +1315,7 @@ showview(WebKitWebView *v, Client *c)
|
||||||
if (showxid) {
|
if (showxid) {
|
||||||
gdk_display_sync(gtk_widget_get_display(c->win));
|
gdk_display_sync(gtk_widget_get_display(c->win));
|
||||||
puts(winid);
|
puts(winid);
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curconfig[HideBackground].val.i)
|
if (curconfig[HideBackground].val.i)
|
||||||
|
|
Loading…
Reference in New Issue