summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-22 19:43:01 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-22 19:43:01 +0200
commit62f3a8ee545178eac85e88f282efe3261d90c371 (patch)
tree76856df95142659fc4148c0ba3b7dfc3d0972497
parent1b392c91d25b6709b293909675c034c0bf8ae171 (diff)
downloadmetacity-62f3a8ee545178eac85e88f282efe3261d90c371.tar.gz
libmetacity: fix get_shadow_extents
-rw-r--r--libmetacity/meta-theme-gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmetacity/meta-theme-gtk.c b/libmetacity/meta-theme-gtk.c
index 86714d87..b4612add 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