wayland desktop environment using webtech
Two critical bugs causing a black/off screen: 1. [[root]] window configs were spawned as Electron processes but never added to config.windows. The render loop, window_mapped state, and respawn logic all iterate config.windows — so root windows were invisible. Fix: merge root entries (with fullscreen geometry and low z_order) into config.windows before WoState::new(), so all subsystems see them uniformly. 2. When the display manager (Ly) leaves the CRTC in a state Smithay considers 'already committed' (matching mode/connectors), commit_pending() returns false and only page_flip() is used. page_flip without a prior modeset can 'succeed' but produce no visible output because the CRTC was never properly activated with a framebuffer. Fix: force a full modeset commit (ALLOW_MODESET) on the very first frame (total_flips==0) regardless of commit_pending. 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)