Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(windows): remove hwnd val checks on 0.35
Small commit to temporarily handle a regression introduced by my changes when upgrading from 0.34 to 0.35. Checking for a 0 HWND value results in an Err being propagated in fns like GetForegroundWindow, while the error message just reads "The operation completed successfully. (os error 0)". This behaviour was causing regressions in features such as window floating which seems to be resolved by removing the 0 HWND check.
- Loading branch information