diff options
Diffstat (limited to 'Services/WindowServer')
-rw-r--r-- | Services/WindowServer/WindowManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Services/WindowServer/WindowManager.cpp b/Services/WindowServer/WindowManager.cpp index a5fac927d0..52b437169a 100644 --- a/Services/WindowServer/WindowManager.cpp +++ b/Services/WindowServer/WindowManager.cpp @@ -1252,6 +1252,10 @@ Gfx::Rect WindowManager::maximized_window_rect(const Window& window) const return IterationDecision::Break; }); + constexpr int tasteful_space_above_maximized_window = 2; + rect.set_y(rect.y() + tasteful_space_above_maximized_window); + rect.set_height(rect.height() - tasteful_space_above_maximized_window); + return rect; } |