Compare commits

...

1 Commits

Author SHA1 Message Date
LGUG2Z
0f6d1a465c refactor(wm): use notopmost flag instead of bottom 2024-03-09 07:16:07 -08:00

View File

@@ -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())
}