summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-01-29 21:42:15 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-01-29 21:42:15 +0800
commit7973b3215601c71cf01a04ea4de0ceae341b76ea (patch)
tree4ec0d48f8c726e41a3c2e7f89ca839b1c235b3e8 /src
parentfceb9363d7405d1ed75488fe80cc9202aa9ea197 (diff)
downloadunity-window-decorator-7973b3215601c71cf01a04ea4de0ceae341b76ea.tar.gz
unity-window-decorator-7973b3215601c71cf01a04ea4de0ceae341b76ea.tar.bz2
Fix typo which caused window shadows not to appear.
Diffstat (limited to 'src')
-rw-r--r--src/cairo.c2
-rw-r--r--src/metacity.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo.c b/src/cairo.c
index d53fd47..9f5931b 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -985,7 +985,7 @@ cairo_update_shadow (gint shadow_type)
TRANSLUCENT_CORNER_SIZE,
_max_win_extents.bottom - TRANSLUCENT_CORNER_SIZE,
&opt_inactive_shadow,
- &max_window_active_context,
+ &max_window_inactive_context,
draw_border_shape,
(void *) 1);
default:
diff --git a/src/metacity.c b/src/metacity.c
index 6ae2f52..0962f6d 100644
--- a/src/metacity.c
+++ b/src/metacity.c
@@ -1879,7 +1879,7 @@ meta_update_shadow (gint shadow_type)
TRANSLUCENT_CORNER_SIZE,
_max_win_extents.bottom - TRANSLUCENT_CORNER_SIZE,
&opt_shadow,
- &max_window_active_context,
+ &max_window_inactive_context,
draw_border_shape,
(void *) 1);
default: