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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user