Force printing the winid when requested
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index f01a91c..a5cc5a7 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -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)