windows: bump windows-sys to 0.52
This commit is contained in:
parent
babbb715c5
commit
2491f2bbd6
6 changed files with 11 additions and 11 deletions
|
|
@ -99,7 +99,7 @@ pub fn is_maximized(window: HWND) -> bool {
|
|||
let mut placement: WINDOWPLACEMENT = mem::zeroed();
|
||||
placement.length = mem::size_of::<WINDOWPLACEMENT>() as u32;
|
||||
GetWindowPlacement(window, &mut placement);
|
||||
placement.showCmd == SW_MAXIMIZE
|
||||
placement.showCmd == SW_MAXIMIZE as u32
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue