]> Skullheadx's Git Forge - surf.git/commitdiff
adding fflush()
authorEnno Boland (tox) <tox@s01.de>
Mon, 7 Sep 2009 22:00:43 +0000 (00:00 +0200)
committerEnno Boland (tox) <tox@s01.de>
Mon, 7 Sep 2009 22:00:43 +0000 (00:00 +0200)
surf.c

diff --git a/surf.c b/surf.c
index b739acdfb9e28858d3e2a1d61c57a4bb77a76898..139c25b60fa67ffeaa5e063d5606df380b549e0c 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -444,8 +444,10 @@ newclient(void) {
        c->title = NULL;
        c->next = clients;
        clients = c;
-       if(showxid)
+       if(showxid) {
                printf("%u\n", (guint)GDK_WINDOW_XID(GTK_WIDGET(c->win)->window));
+               fflush(NULL);
+       }
        return c;
 }