|
@@ -47,8 +47,8 @@
|
|
#include <WindowServer/Cursor.h>
|
|
#include <WindowServer/Cursor.h>
|
|
#include <WindowServer/WindowClientEndpoint.h>
|
|
#include <WindowServer/WindowClientEndpoint.h>
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
-#include <stdio.h>
|
|
|
|
#include <serenity.h>
|
|
#include <serenity.h>
|
|
|
|
+#include <stdio.h>
|
|
#include <time.h>
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
#include <unistd.h>
|
|
|
|
|
|
@@ -218,6 +218,11 @@ void WindowManager::move_to_front_and_make_active(Window& window)
|
|
m_switcher.select_window(window);
|
|
m_switcher.select_window(window);
|
|
set_highlight_window(&window);
|
|
set_highlight_window(&window);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ for (auto& child_window : window.child_windows()) {
|
|
|
|
+ if (child_window)
|
|
|
|
+ move_to_front_and_make_active(*child_window);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
void WindowManager::remove_window(Window& window)
|
|
void WindowManager::remove_window(Window& window)
|