summaryrefslogtreecommitdiffstats
path: root/glutin
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-08-11 19:23:05 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-08-11 19:48:55 +0700
commit7337ab63bc9e167116f8adbfedb5a8e8203a4a5b (patch)
treebb4881a08b483bca5b356f8d2c1aac7c454c8352 /glutin
parente3bc050aaeb0b7d5a5d463ed06911128e2d6753f (diff)
downloadiced-7337ab63bc9e167116f8adbfedb5a8e8203a4a5b.tar.gz
iced-7337ab63bc9e167116f8adbfedb5a8e8203a4a5b.tar.bz2
iced-7337ab63bc9e167116f8adbfedb5a8e8203a4a5b.zip
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.
Diffstat (limited to 'glutin')
-rw-r--r--glutin/src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs
index 7ed6315d..4a5f4bd2 100644
--- a/glutin/src/application.rs
+++ b/glutin/src/application.rs
@@ -58,6 +58,7 @@ where
&application.title(),
application.mode(),
event_loop.primary_monitor(),
+ settings.id,
)
.with_menu(Some(conversion::menu(&application.menu())));