summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Servers/WindowServer/WindowManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Servers/WindowServer/WindowManager.cpp b/Servers/WindowServer/WindowManager.cpp
index 7503a637e5..2b168107d1 100644
--- a/Servers/WindowServer/WindowManager.cpp
+++ b/Servers/WindowServer/WindowManager.cpp
@@ -142,6 +142,8 @@ bool WindowManager::set_resolution(int width, int height)
});
if (success) {
for_each_window([](Window& window) {
+ if (window.type() == WindowType::Desktop)
+ window.set_rect(WindowManager::the().desktop_rect());
window.recalculate_rect();
return IterationDecision::Continue;
});