1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Default app_id to app_name on native (#8172)

### Related

* Closes #7872.

### What

On native (this is not limited to Wayland) we set the `app_id` to the
`app_name` if it is `None`.
This commit is contained in:
Jochen Görtler
2026-05-19 15:51:25 +02:00
committed by GitHub
parent 85ad9cac7e
commit a5ba0d23ce

View File

@@ -389,6 +389,9 @@ fn init_native(app_name: &str, native_options: &mut NativeOptions) -> Renderer {
if native_options.viewport.title.is_none() {
native_options.viewport.title = Some(app_name.to_owned());
}
if native_options.viewport.app_id.is_none() {
native_options.viewport.app_id = Some(app_name.to_owned());
}
let renderer = native_options.renderer;