wayland: Dispatch pending events before entering poll
wayland: Dispatch pending events before entering poll

If we don't dispatch the pending events then we can enter poll with events
still requiring to be processed and which can then lead to us deadlocking
there.

Adamovskiy/gtk,chergert/gtk,ahodesuka/gtk,alexlarsson/gtk,grubersjoe/adwaita,chergert/gtk,jadahl/gtk,alexlarsson/gtk,davidgumberg/gtk,ebassi/gtk,msteinert/gtk,jadahl/gtk,grubersjoe/adwaita,alexlarsson/gtk,Adamovskiy/gtk,grubersjoe/adwaita,jigpu/gtk,Adamovskiy/gtk,Sidnioulz/SandboxGtk,bratsche/gtk-,jadahl/gtk,davidgumberg/gtk,davidgumberg/gtk,jessevdk/gtk,jigpu/gtk,grubersjoe/adwaita,ebassi/gtk,Lyude/gtk-,Sidnioulz/SandboxGtk,alexlarsson/gtk,Lyude/gtk-,jadahl/gtk,jigpu/gtk,davidgumberg/gtk,ahodesuka/gtk,jessevdk/gtk,msteinert/gtk,alexlarsson/gtk,ebassi/gtk,Sidnioulz/SandboxGtk,jessevdk/gtk,Adamovskiy/gtk,jigpu/gtk,grubersjoe/adwaita,jigpu/gtk,chergert/gtk,Lyude/gtk-,davidgumberg/gtk,jigpu/gtk,msteinert/gtk,chergert/gtk,Lyude/gtk-,davidgumberg/gtk,jessevdk/gtk,ebassi/gtk,chergert/gtk,ebassi/gtk,msteinert/gtk,Adamovskiy/gtk,davidgumberg/gtk,bratsche/gtk-,bratsche/gtk-,Adamovskiy/gtk,grubersjoe/adwaita,Sidnioulz/SandboxGtk,jadahl/gtk,Sidnioulz/SandboxGtk,Lyude/gtk-,grubersjoe/adwaita,alexlarsson/gtk,jessevdk/gtk,msteinert/gtk,grubersjoe/adwaita,chergert/gtk,ahodesuka/gtk,Adamovskiy/gtk,Lyude/gtk-,davidgumberg/gtk,jessevdk/gtk,jadahl/gtk,bratsche/gtk-,alexlarsson/gtk,msteinert/gtk,chergert/gtk,chergert/gtk,bratsche/gtk-,Adamovskiy/gtk,ahodesuka/gtk,Lyude/gtk-,jigpu/gtk,ahodesuka/gtk,jadahl/gtk,jigpu/gtk,alexlarsson/gtk,ahodesuka/gtk,ahodesuka/gtk,bratsche/gtk-,Lyude/gtk-,jadahl/gtk,ahodesuka/gtk,jessevdk/gtk,ebassi/gtk,Sidnioulz/SandboxGtk