summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/frames.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/frames.c')
-rw-r--r--gtk/window-decorator/frames.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/window-decorator/frames.c b/gtk/window-decorator/frames.c
index dc93b8c..2c188f9 100644
--- a/gtk/window-decorator/frames.c
+++ b/gtk/window-decorator/frames.c
@@ -46,13 +46,13 @@ decor_frame_refresh (decor_frame_t *frame)
strcmp (frame->type, "switcher"))
(*theme_update_border_extents) (frame);
- opt_shadow.shadow_radius = shadow_radius;
- opt_shadow.shadow_opacity = shadow_opacity;
+ opt_shadow.shadow_radius = settings->shadow_radius;
+ opt_shadow.shadow_opacity = settings->shadow_opacity;
- memcpy (opt_shadow.shadow_color, shadow_color, sizeof (shadow_color));
+ memcpy (opt_shadow.shadow_color, settings->shadow_color, sizeof (settings->shadow_color));
- opt_shadow.shadow_offset_x = shadow_offset_x;
- opt_shadow.shadow_offset_y = shadow_offset_y;
+ opt_shadow.shadow_offset_x = settings->shadow_offset_x;
+ opt_shadow.shadow_offset_y = settings->shadow_offset_y;
opt_no_shadow.shadow_radius = 0;
opt_no_shadow.shadow_opacity = 0;