• Lucas Stach's avatar
    gl/wayland: fix glib mainloop integration · 85c9b767
    Lucas Stach authored
    Implement the prepare and check functions according to the
    documentation by returning TRUE when events should be dispatched
    via the dispatch function.
    
    As wl_display_read_events never blocks we can call it unconditionally
    without looking at the poll status.
    
    This simplifies the implementation and gets rid of a race where the
    mainloop could get blocked due to nobody actually reading the events
    from the wayland connection.
    85c9b767
Name
Last commit
Last update
common @ f0c2dc9a Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-base.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...