summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}