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 71367e14d5
commit 268a4c92ba

View File

@ -5677,9 +5677,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*