summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-08 00:00:43 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-08 00:00:43 +0200
commita20d03fb150a6c0e81555a77cf52e1c039b5c9de (patch)
treec9d1de37f0ef2df3d6f50c9f60221543d97f1bbc
parentb2bbf9b35b3b4464fee9beda8634adc817f94dcd (diff)
downloadsurf-a20d03fb150a6c0e81555a77cf52e1c039b5c9de.tar.gz
surf-a20d03fb150a6c0e81555a77cf52e1c039b5c9de.tar.bz2
surf-a20d03fb150a6c0e81555a77cf52e1c039b5c9de.zip
adding fflush()
-rw-r--r--surf.c4
1 files changed, 3 insertions, 1 deletions
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;
}