fix(wm): float/monocle toggle, invisible borders

This commit fixes issues with toggling on and off Monocle and Floating
Window mode by ensuring that the relevant windows are always at the top
of the Z order, and in the latter case, ensuring that the top visible
window is used to search the local floating window state of the process.

After some experimenting I seem to have been able to adjust to remove
all of the invisible window borders by default, so if desired, a user
can now have no gaps at all.

Also upgraded to the latest version of the windows-rs crate since I saw
it was available. Thankfully no breaking changes.
This commit is contained in:
LGUG2Z
2021-07-30 10:44:28 -07:00
parent 61cee458a1
commit b0c3480262
12 changed files with 212 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
windows = "0.17.2"
windows = "0.18"
[build-dependencies]
windows = "0.17.2"
windows = "0.18"