Read connection events in screenshot.c
authorKristian Høgsberg <krh@redhat.com>
Tue, 10 Feb 2009 19:15:44 +0000 (14:15 -0500)
committerKristian Høgsberg <krh@redhat.com>
Tue, 10 Feb 2009 19:15:44 +0000 (14:15 -0500)
screenshot.c

index e3e677c..2ae38a7 100644 (file)
@@ -90,6 +90,7 @@ int main(int argc, char *argv[])
                return -1;
        }
 
+       wl_display_iterate(display, WL_DISPLAY_READABLE);
        loop = g_main_loop_new(NULL, FALSE);
        source = wl_glib_source_new(display);
        g_source_attach(source, NULL);