From 7337ab63bc9e167116f8adbfedb5a8e8203a4a5b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 11 Aug 2021 19:23:05 +0700 Subject: Introduce explicit `id` field to `Settings` ... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application. --- winit/src/application.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'winit/src/application.rs') diff --git a/winit/src/application.rs b/winit/src/application.rs index 1d32a5f3..c43eed11 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -152,6 +152,7 @@ where &application.title(), application.mode(), event_loop.primary_monitor(), + settings.id, ) .with_menu(Some(conversion::menu(&application.menu()))) .build(&event_loop) -- cgit