diff --git a/src/core/window.c b/src/core/window.c index 0a2bbf04b..c65d7dfeb 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -5858,9 +5858,9 @@ meta_window_get_client_area_rect (const MetaWindow *window, rect->width = window->rect.width; if (window->shaded) - rect->height = window->rect.height; - else rect->height = 0; + else + rect->height = window->rect.height; } const char*