* Add an optional app_id field to eframe's NativeOptions (#1600). This is used in the window builder to set the application ID, which is e.g. important for a proper configuration in `.desktop` files under Wayland. When no application ID is explicitly set, it defaults to the title of the window. * Only enable NativeOptions::app_id under Linux. The wayland feature is not sufficent as constraint and it won't compile e.g. under Windows. While Wayland could also be used on other Unix-Systems like FreeBSD, this would probably need some specific testing. Winit uses the following definition as "wayland_platform" and on which the required packages are available: > wayland_platform: { all(feature = "wayland", free_unix, not(wasm), not(redox)) }, * Do not use title as default application ID under Wayland. The title might be used to also communicate state (opened file, ...) to the user and this might have unforeseen consequences for the application ID. It seems to be better to use the old behavior of not setting an application ID in this case. Also add an example on how to set the application ID in the documentation. * Avoid as_deref(), which was a left-over of a previous version Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> |
||
|---|---|---|
| .. | ||
| ecolor | ||
| eframe | ||
| egui | ||
| egui-wgpu | ||
| egui-winit | ||
| egui_demo_app | ||
| egui_demo_lib | ||
| egui_extras | ||
| egui_glium | ||
| egui_glow | ||
| egui_web | ||
| emath | ||
| epaint | ||