wayland desktop environment using webtech
The DRM event loop only woke for registered calloop sources (VBlank, libinput, session). When the VBlank rendering cycle broke (transient page-flip failure, timing edge), nothing woke the loop to restart it — only input events (mouse movement) would un-stall rendering. Three changes: 1. Register the Wayland display poll_fd as a calloop source so client surface commits immediately wake the event loop and trigger render_frame via the main callback. 2. Register the listening socket fd so new Wayland client connections also wake the loop promptly. 3. Add a periodic timer (fires every frame_time ≈ 16ms) as a safety net to restart stalled VBlank cycles even with no input or client activity. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| electron | ||
| packaging/wayland-sessions | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config.example.toml | ||
| LICENSE | ||
| PKGBUILD | ||
| README.md | ||
| whatever.txt | ||
wo compositor
don't bother (woe)