From: Enno Boland (tox) Date: Mon, 7 Sep 2009 22:00:43 +0000 (+0200) Subject: adding fflush() X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a20d03fb150a6c0e81555a77cf52e1c039b5c9de;p=surf.git adding fflush() --- diff --git a/surf.c b/surf.c index b739acd..139c25b 100644 --- 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; }