From a8729c0e6412456c9be2bc0a2ed413f87667ce18 Mon Sep 17 00:00:00 2001 From: Andrzej Date: Wed, 11 Apr 2012 18:44:06 +0900 Subject: [PATCH] Changed default shadow settings and removed shadow settings from themes. Based on discussion on bug #8408. All four themes distributed with xfwm4 are either flat (no visible lighting) or assume lighting from top. Widget themes usually assume lighting from top, and some rare but important ones (default Gtk, Motif etc) are lighted from top-left corner. For this reason the default shadow is placed as if the light was coming from top and (very slightly) from left (1px difference). --- defaults/defaults | 6 +++--- themes/daloa/themerc | 4 ---- themes/default/themerc | 4 ---- themes/kokodi/themerc | 5 ----- themes/moheli/themerc | 4 ---- 5 files changed, 3 insertions(+), 20 deletions(-) diff --git a/defaults/defaults b/defaults/defaults index 6db210a..6782990 100644 --- a/defaults/defaults +++ b/defaults/defaults @@ -37,9 +37,9 @@ resize_opacity=100 restore_on_move=true scroll_workspaces=true shadow_delta_height=0 -shadow_delta_width=0 -shadow_delta_x=0 -shadow_delta_y=-3 +shadow_delta_width=-5 +shadow_delta_x=-6 +shadow_delta_y=-10 shadow_opacity=50 show_app_icon=false show_dock_shadow=true diff --git a/themes/daloa/themerc b/themes/daloa/themerc index eef70cb..dc00352 100644 --- a/themes/daloa/themerc +++ b/themes/daloa/themerc @@ -2,10 +2,6 @@ active_text_color=#ffffff button_offset=1 button_spacing=-1 maximized_offset=0 -shadow_delta_height=0 -shadow_delta_width=0 -shadow_delta_x=0 -shadow_delta_y=2 show_app_icon=true title_horizontal_offset=0 title_shadow_active=frame diff --git a/themes/default/themerc b/themes/default/themerc index 800f0b0..d183b69 100644 --- a/themes/default/themerc +++ b/themes/default/themerc @@ -3,10 +3,6 @@ button_offset=5 button_spacing=0 full_width_title=false maximized_offset=0 -shadow_delta_height=4 -shadow_delta_width=1 -shadow_delta_x=1 -shadow_delta_y=1 show_app_icon=true title_horizontal_offset=4 title_shadow_active=frame diff --git a/themes/kokodi/themerc b/themes/kokodi/themerc index 01c9872..ac29083 100644 --- a/themes/kokodi/themerc +++ b/themes/kokodi/themerc @@ -3,11 +3,6 @@ button_offset=0 button_spacing=0 full_width_title=false maximized_offset=0 -shadow_delta_height=8 -shadow_delta_width=2 -shadow_delta_x=2 -shadow_delta_y=0 -shadow_opacity=50 show_app_icon=true title_horizontal_offset=1 title_shadow_active=frame diff --git a/themes/moheli/themerc b/themes/moheli/themerc index 8a7dc6a..b0bab7d 100644 --- a/themes/moheli/themerc +++ b/themes/moheli/themerc @@ -3,10 +3,6 @@ button_offset=0 button_spacing=0 full_width_title=true maximized_offset=2 -shadow_delta_height=4 -shadow_delta_width=1 -shadow_delta_x=1 -shadow_delta_y=1 show_app_icon=true title_horizontal_offset=8 title_shadow_active=frame -- 1.7.5.4