Fix window focus bugs for Windows

This commit is contained in:
2025-04-21 11:20:02 -05:00
parent 780e722076
commit 07c15dc1e7
9 changed files with 43 additions and 21 deletions

View File

@@ -692,7 +692,7 @@ void init_mini_map() {
mini_map().setVisible(false);
map_visible=false;
setWindowFloating(mini_map(), true);
makeFrontWindow(mainPtr());
makeFrontWindow(mainPtr(), mini_map());
// Create and initialize map gworld
if(!map_gworld().create(384, 384)) {