small fix to work more proberly with tabbed.
authorEnno Boland (tox) <tox@s01.de>
Wed, 9 Sep 2009 09:00:38 +0000 (11:00 +0200)
committerEnno Boland (tox) <tox@s01.de>
Wed, 9 Sep 2009 09:00:38 +0000 (11:00 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 139c25b..fe7f9ad 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -445,6 +445,7 @@ newclient(void) {
        c->next = clients;
        clients = c;
        if(showxid) {
+               gdk_display_sync(gtk_widget_get_display(c->win));
                printf("%u\n", (guint)GDK_WINDOW_XID(GTK_WIDGET(c->win)->window));
                fflush(NULL);
        }