mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
@@ -120,6 +120,9 @@ impl Window {
|
|||||||
attributes.preferred_theme,
|
attributes.preferred_theme,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Set transparency hint.
|
||||||
|
window_state.set_transparent(attributes.transparent);
|
||||||
|
|
||||||
// Set the app_id.
|
// Set the app_id.
|
||||||
if let Some(name) = platform_attributes.name.map(|name| name.general) {
|
if let Some(name) = platform_attributes.name.map(|name| name.general) {
|
||||||
window.set_app_id(name);
|
window.set_app_id(name);
|
||||||
|
|||||||
Reference in New Issue
Block a user