wayland desktop environment using webtech
Find a file
Stephen Hellings 5123aac2d4 fix: merge [[root]] entries into config.windows and force initial modeset
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>
2026-03-09 13:16:00 -04:00
electron Fix types + build issue 2026-03-08 23:38:12 -04:00
packaging/wayland-sessions Initial commit 2026-03-08 23:04:02 -04:00
src fix: merge [[root]] entries into config.windows and force initial modeset 2026-03-09 13:16:00 -04:00
.gitignore Initial commit 2026-03-08 23:04:02 -04:00
Cargo.lock Initial commit 2026-03-08 23:04:02 -04:00
Cargo.toml Initial commit 2026-03-08 23:04:02 -04:00
config.example.toml Attempt 3 to fix launching permission denied 2026-03-09 11:21:08 -04:00
LICENSE Create LICENSE 2026-03-08 23:12:27 -04:00
PKGBUILD Do not use npm for pkg 2026-03-08 23:39:36 -04:00
README.md Initial commit 2026-03-08 23:04:02 -04:00
whatever.txt Attempt 2 to fix launching permission denied 2026-03-09 09:45:30 -04:00

wo compositor

don't bother (woe)