127d0f005040463cdd2339d261080c0ac7570067
Instead of having a separate check function, we just mark our x11 event source as needing a post-dispatch check. The event loop will call our dispatch function again after all dispatching is done, this time with mask = 0. If we don't process any events, return 0, so the event loop doesn't keep calling us.
Wayland Demos This repository contains a few demos application for the Wayland project. There's a sample compositor that can run on KMS, under X11 or under another Wayland compositor and there's a handful of simple clients that demonstrate various aspects of Wayland:
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%