window: Fix meta_window_get_client_area_rect
The shaded logic here was backwards.
This commit is contained in:
parent
fc24552e0e
commit
54f8b5d69a
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user