Commit 467656df authored by Lucas Stach's avatar Lucas Stach Committed by Tim-Philipp Müller

gl/wayland: fix wayland event source burning CPU

Commit c71dd72b "gl/wayland: fix glib mainloop integration" was overeager
in removing the poll result test from the check function. This caused
dispatch to be called even if no new events are available on the
Wayland connection, which in turn would wake up the glib mainloop,
causing effectively a tight loop without ever blocking on the poll.

Fixes #603
parent 1bfe5fd6
Pipeline #55463 canceled with stages
in 1 minute and 59 seconds