[metacity] libmetacity: fix get_shadow_extents



commit 62f3a8ee545178eac85e88f282efe3261d90c371
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Feb 22 19:43:01 2016 +0200

    libmetacity: fix get_shadow_extents

 libmetacity/meta-theme-gtk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libmetacity/meta-theme-gtk.c b/libmetacity/meta-theme-gtk.c
index 86714d8..b4612ad 100644
--- a/libmetacity/meta-theme-gtk.c
+++ b/libmetacity/meta-theme-gtk.c
@@ -205,7 +205,7 @@ get_shadow_extents (GtkStyleContext *style,
   border->left = abs (clip.x);
   border->top = abs (clip.y);
   border->right = clip.width - border->left;
-  border->bottom = clip.height - border->bottom;
+  border->bottom = clip.height - border->top;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]