tadding fflush() - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a20d03fb150a6c0e81555a77cf52e1c039b5c9de
(DIR) parent b2bbf9b35b3b4464fee9beda8634adc817f94dcd
(HTM) Author: Enno Boland (tox) <tox@s01.de>
Date: Tue, 8 Sep 2009 00:00:43 +0200
adding fflush()
Diffstat:
M surf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -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;
}