window: Fix meta_window_get_client_area_rect

The shaded logic here was backwards.
This commit is contained in:
Jasper St. Pierre 2014-02-27 10:32:19 -05:00
parent fc24552e0e
commit 54f8b5d69a

View File

@ -5858,9 +5858,9 @@ meta_window_get_client_area_rect (const MetaWindow *window,
rect->width = window->rect.width; rect->width = window->rect.width;
if (window->shaded) if (window->shaded)
rect->height = window->rect.height;
else
rect->height = 0; rect->height = 0;
else
rect->height = window->rect.height;
} }
const char* const char*