On Wayland (and android apparently) it is not possible for applications to position their windows or request the window position (for some reason). This is not specified in the documentation. proof: [`winit::set_outer_position`], [`winit::outer_position`], [`winit::inner_position`] all specify that Android / Wayland are not supported. [`winit::set_outer_position`]: https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_outer_position [`winit::outer_position`]: https://docs.rs/winit/latest/winit/window/struct.Window.html#method.outer_position [`winit::inner_position`]: https://docs.rs/winit/latest/winit/window/struct.Window.html#method.inner_position * Maybe closes #4469 * the lack of support makes me sad. I believe this makes some items in #3556 impossible on Wayland. Oh well! --------- Co-authored-by: lucasmerlin <lucasmeurer96@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| examples | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
README.md
GUI implementation
This is the core library crate egui. It is fully platform independent without any backend. You give the egui library input each frame (mouse pos etc), and it outputs a triangle mesh for you to paint.