mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-04 07:15:53 -04:00
Read connection events in screenshot.c
This commit is contained in:
parent
5c8c3286ea
commit
03fd86b042
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue