@@ -1091,6 +1091,12 @@ pub struct WindowOptions {
10911091 /// Whether the window should be movable by the user
10921092 pub is_movable : bool ,
10931093
1094+ /// Whether the window should be resizable by the user
1095+ pub is_resizable : bool ,
1096+
1097+ /// Whether the window should be minimized by the user
1098+ pub is_minimizable : bool ,
1099+
10941100 /// The display to create the window on, if this is None,
10951101 /// the window will be created on the main display
10961102 pub display_id : Option < DisplayId > ,
@@ -1133,6 +1139,14 @@ pub(crate) struct WindowParams {
11331139 #[ cfg_attr( any( target_os = "linux" , target_os = "freebsd" ) , allow( dead_code) ) ]
11341140 pub is_movable : bool ,
11351141
1142+ /// Whether the window should be resizable by the user
1143+ #[ cfg_attr( any( target_os = "linux" , target_os = "freebsd" ) , allow( dead_code) ) ]
1144+ pub is_resizable : bool ,
1145+
1146+ /// Whether the window should be minimized by the user
1147+ #[ cfg_attr( any( target_os = "linux" , target_os = "freebsd" ) , allow( dead_code) ) ]
1148+ pub is_minimizable : bool ,
1149+
11361150 #[ cfg_attr(
11371151 any( target_os = "linux" , target_os = "freebsd" , target_os = "windows" ) ,
11381152 allow( dead_code)
@@ -1191,6 +1205,8 @@ impl Default for WindowOptions {
11911205 show : true ,
11921206 kind : WindowKind :: Normal ,
11931207 is_movable : true ,
1208+ is_resizable : true ,
1209+ is_minimizable : true ,
11941210 display_id : None ,
11951211 window_background : WindowBackgroundAppearance :: default ( ) ,
11961212 app_id : None ,
0 commit comments