wayland desktop environment using webtech
Find a file
Stephen Hellings 6c487d6b75 fix: swapchain slot retention to eliminate flickering, add keyboard_key action, align maximize with nested.rs
Three fixes:

1. **Flickering (every-other-frame)**: Swapchain slots were dropped
   immediately after page_flip, setting acquired=false so the next
   acquire() could return the same GBM BO currently being scanned out
   by the CRTC. Added current_slot field to EventLoopData that holds
   the submitted slot until the next frame replaces it, preventing
   buffer reuse during scanout.

2. **Missing keyboard_key action**: The DRM codepath was missing the
   'keyboard_key' custom action handler that nested.rs has. Added it
   with evdev→XKB keycode conversion and keyboard.input() dispatch.

3. **Maximize alignment**: DRM maximize was clamping to size hints and
   centering horizontally, while nested.rs uses full output width.
   Aligned to match nested.rs behavior.

4. **z_order sorting**: Electron window rendering now sorts by z_order
   to match nested.rs's chain+sort approach.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 13:30:45 -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: swapchain slot retention to eliminate flickering, add keyboard_key action, align maximize with nested.rs 2026-03-09 13:30:45 -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)