[mutter/wayland] window: Fix meta_window_get_client_area_rect
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] window: Fix meta_window_get_client_area_rect
- Date: Thu, 27 Feb 2014 15:33:23 +0000 (UTC)
commit 268a4c92ba73e649a2a0f92e6c37491b27098ced
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 27 10:32:19 2014 -0500
window: Fix meta_window_get_client_area_rect
The shaded logic here was backwards.
src/core/window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index d917d24..b506634 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]