mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 01:58:51 +02:00
refactor(wm): use notopmost flag instead of bottom
This commit is contained in:
@@ -357,7 +357,7 @@ impl WindowsApi {
|
|||||||
bottom: layout.bottom + shadow_rect.bottom,
|
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())
|
Self::set_window_pos(hwnd, &rect, position, flags.bits())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user