summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-09 11:00:38 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-09 11:00:38 +0200
commit504fc78c312c5bd85ab9bac271ed754c7352c8bc (patch)
treea921e9ecf1c0bbbe4d9322677c95a66809068263 /surf.c
parenta20d03fb150a6c0e81555a77cf52e1c039b5c9de (diff)
downloadsurf-504fc78c312c5bd85ab9bac271ed754c7352c8bc.tar.gz
surf-504fc78c312c5bd85ab9bac271ed754c7352c8bc.tar.bz2
surf-504fc78c312c5bd85ab9bac271ed754c7352c8bc.zip
small fix to work more proberly with tabbed.
Diffstat (limited to 'surf.c')
-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);
}