summaryrefslogtreecommitdiff
path: root/data/elementary
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-25 10:41:41 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-25 11:04:00 +0900
commit8c06c47301aaf590a29a976c24b725dde223258b (patch)
tree9a5ade4cd12829c16b1c7a9e59ff487bea22286f /data/elementary
parent6d530356b0be74b317c38b9109df8fbaa4fd4c91 (diff)
downloadefl-8c06c47301aaf590a29a976c24b725dde223258b.tar.gz
theme: Fix 1 pixel offset and hide clipped regions
Thanks @raster for pointing this out: title bar and menu bar were resized down to 1 pixel high rather than 0. This meant that all CSD windows would see a 1-pixel line between the title bar and the app content, while SSD windows would see a 2-pixel line. Also clip out the icon, this makes a 1x1 pixel disappear from the top-left corner.
Diffstat (limited to 'data/elementary')
-rw-r--r--data/elementary/themes/edc/elm/border.edc5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/elm/border.edc b/data/elementary/themes/edc/elm/border.edc
index cd75d4b8a2..1c5a25d834 100644
--- a/data/elementary/themes/edc/elm/border.edc
+++ b/data/elementary/themes/edc/elm/border.edc
@@ -35,7 +35,6 @@ group { name: "elm/border/base/default";
spacer { "elm.spacer.opaque";
desc {
rel1.to: "top_clip";
- rel1.offset: 0 -1;
rel2.to: "bottom_clip";
}
desc { "max"; inherit: "default"; }
@@ -165,13 +164,14 @@ group { name: "elm/border/base/default";
rel1.to: "shadow_spacer";
rel2.to_y: "title2";
rel2.to_x: "shadow_spacer";
- rel2.offset: -1 0;
vis;
}
desc { "hidden";
inherit: "default";
rel1.relative: 0.0 0.0;
+ rel2.to: "shadow_spacer";
rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
max: -1 0;
min: 0 0;
fixed: 0 1;
@@ -279,6 +279,7 @@ group { name: "elm/border/base/default";
}
}
swallow { "elm.swallow.icon"; nomouse;
+ clip_to: "top_clip";
desc { "default";
rel1.to: "icon";
rel1.relative: 0.15 0.15;