mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
On Windows, add option to customize window class name (#2978)
This commit is contained in:
committed by
Kirill Chibisov
parent
645b1ff00f
commit
f69616ac2c
@@ -30,6 +30,7 @@ pub struct PlatformSpecificWindowBuilderAttributes {
|
||||
pub no_redirection_bitmap: bool,
|
||||
pub drag_and_drop: bool,
|
||||
pub skip_taskbar: bool,
|
||||
pub class_name: String,
|
||||
pub decoration_shadow: bool,
|
||||
}
|
||||
|
||||
@@ -42,6 +43,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes {
|
||||
no_redirection_bitmap: false,
|
||||
drag_and_drop: true,
|
||||
skip_taskbar: false,
|
||||
class_name: "Window Class".to_string(),
|
||||
decoration_shadow: false,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user