Read connection events in screenshot.c
This commit is contained in:
@@ -90,6 +90,7 @@ int main(int argc, char *argv[])
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wl_display_iterate(display, WL_DISPLAY_READABLE);
|
||||||
loop = g_main_loop_new(NULL, FALSE);
|
loop = g_main_loop_new(NULL, FALSE);
|
||||||
source = wl_glib_source_new(display);
|
source = wl_glib_source_new(display);
|
||||||
g_source_attach(source, NULL);
|
g_source_attach(source, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user