[hackers] [surf] adding fflush() || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Mon, 7 Sep 2009 21:57:30 +0000 (UTC)

changeset: 75:f2aec6f3dbb3
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Tue Sep 08 00:00:43 2009 +0200
files: surf.c
description:
adding fflush()

diff -r f1a9c21bb6f0 -r f2aec6f3dbb3 surf.c
--- a/surf.c Tue Sep 08 00:00:14 2009 +0200
+++ b/surf.c Tue Sep 08 00:00:43 2009 +0200
@@ -444,8 +444,10 @@
         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;
 }
 
Received on Mon Sep 07 2009 - 21:57:30 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 07 2009 - 22:00:08 UTC