From: Enno Boland (tox) Date: Wed, 9 Sep 2009 09:00:38 +0000 (+0200) Subject: small fix to work more proberly with tabbed. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=504fc78c312c5bd85ab9bac271ed754c7352c8bc;p=surf.git small fix to work more proberly with tabbed. --- diff --git a/surf.c b/surf.c index 139c25b..fe7f9ad 100644 --- 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); }