diff options
author | Nikita Churaev <lamefun.x0r@gmail.com> | 2014-06-18 22:34:05 +0400 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2014-06-19 11:55:24 +0200 |
commit | d0cafab836a455ac3ff5b8a5f69166bcd9048518 (patch) | |
tree | e25c707a72390455f89b4fa1bd6cd22ac7b12bc9 | |
parent | 24d7c5ebe3a9711d993d3b11ff56cf44f38b4341 (diff) | |
download | mutter-d0cafab836a455ac3ff5b8a5f69166bcd9048518.tar.gz |
Change shadow radiuses to match new Adwaita more or less
Exact simmilarity is not possible yet due to different blurring algorithms.
https://bugzilla.gnome.org/show_bug.cgi?id=731866
-rw-r--r-- | src/compositor/meta-shadow-factory.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/compositor/meta-shadow-factory.c b/src/compositor/meta-shadow-factory.c index a5bce4895..9af6383bc 100644 --- a/src/compositor/meta-shadow-factory.c +++ b/src/compositor/meta-shadow-factory.c @@ -121,17 +121,17 @@ static guint signals[LAST_SIGNAL] = { 0 }; /* The first element in this array also defines the default parameters * for newly created classes */ MetaShadowClassInfo default_shadow_classes[] = { - { "normal", { 6, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, - { "dialog", { 6, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, - { "modal_dialog", { 6, -1, 0, 1, 128 }, { 3, -1, 0, 3, 32 } }, + { "normal", { 3, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, + { "dialog", { 3, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, + { "modal_dialog", { 3, -1, 0, 1, 128 }, { 3, -1, 0, 3, 32 } }, { "utility", { 3, -1, 0, 1, 128 }, { 3, -1, 0, 1, 32 } }, - { "border", { 6, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, - { "menu", { 6, -1, 0, 3, 128 }, { 3, -1, 0, 0, 32 } }, + { "border", { 3, -1, 0, 3, 128 }, { 3, -1, 0, 3, 32 } }, + { "menu", { 3, -1, 0, 3, 128 }, { 3, -1, 0, 0, 32 } }, - { "popup-menu", { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } }, + { "popup-menu", { 1, 0, 0, 1, 128 }, { 1, -1, 0, 1, 128 } }, { "dropdown-menu", { 1, 10, 0, 1, 128 }, { 1, 10, 0, 1, 128 } }, - { "attached", { 1, -1, 0, 1, 128 }, { 1, -1, 0, 1, 128 } } + { "attached", { 1, 0, 0, 1, 128 }, { 1, -1, 0, 1, 128 } } }; G_DEFINE_TYPE (MetaShadowFactory, meta_shadow_factory, G_TYPE_OBJECT); |