mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 14:48:34 +01:00
refactor(wm): use notopmost flag instead of bottom
It seems like when we use the bottom flag, Rainmeter widgets will be drawn on top of windows that are managed by komorebi. After looking at the GlazeWM codebase, where this issue does not occur, it seems like the difference is made by the use of the notopmost flag. resolve #679
This commit is contained in:
1 parent
45a3f2a6b5
commit
69573c383f
1 file changed
+1
-1
@@ -357,7 +357,7 @@ impl WindowsApi {
|
||||
bottom: layout.bottom + shadow_rect.bottom,
|
||||
};
|
||||
|
||||
let position = if top { HWND_TOP } else { HWND_BOTTOM };
|
||||
let position = if top { HWND_TOP } else { HWND_NOTOPMOST };
|
||||
Self::set_window_pos(hwnd, &rect, position, flags.bits())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user