Read connection events in screenshot.c

This commit is contained in:
Kristian Høgsberg 2009-02-10 14:15:44 -05:00
parent 5c8c3286ea
commit 03fd86b042

View 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);