From cbb5a26da28008f50fc5c28253206b0732b5abf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Tue, 19 May 2026 15:51:25 +0200 Subject: [PATCH] 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`. --- crates/eframe/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/eframe/src/lib.rs b/crates/eframe/src/lib.rs index c644289e0..41ad11701 100644 --- a/crates/eframe/src/lib.rs +++ b/crates/eframe/src/lib.rs @@ -370,6 +370,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;