chore(deps): bump windows-rs from 0.54 to 0.57

This is the highest we can go right now because this change which went
into 0.58 absolutely fucks our shit up:
https://github.com/microsoft/windows-rs/pull/3111
This commit is contained in:
LGUG2Z
2024-09-25 08:58:10 -07:00
parent d110e12a62
commit 167ec92811
10 changed files with 110 additions and 157 deletions

View File

@@ -2589,7 +2589,10 @@ Stop-Process -Name:komorebi -ErrorAction SilentlyContinue
fn show_window(hwnd: HWND, command: SHOW_WINDOW_CMD) {
// BOOL is returned but does not signify whether or not the operation was succesful
// https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
unsafe { ShowWindow(hwnd, command) };
// TODO: error handling
unsafe {
let _ = ShowWindow(hwnd, command);
};
}
fn remove_transparency(hwnd: HWND) {