mirror of
https://github.com/CloudNebulaProject/wayray.git
synced 2026-04-10 13:10:41 +00:00
Hot Desking in Wayland - mirror
Root cause: Window::bbox() stayed at 0x0 because Window::on_commit() was never called after surface commits. The Space then never associated the window with the output (no overlap), so render_elements_for_output returned empty. Two fixes: - Call window.on_commit() in CompositorHandler::commit() to update the window's bounding box from the committed surface tree - Call space.refresh() each frame to update output-element mappings Also: send xdg_toplevel configure with suggested 800x600 size. |
||
|---|---|---|
| book | ||
| crates | ||
| docs | ||
| vm | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| RESEARCH.md | ||