summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
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);
}