devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=1eec85d9739a8d15d7b6ce866b73094d5d8a453e

commit 1eec85d9739a8d15d7b6ce866b73094d5d8a453e
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Jul 20 11:46:02 2015 -0400

    elementary: Adjust shadow spacer on maximize
    
    Summary: This fix adjusts the shadow spacer elementary when we
    maximize/unmaximize a window. When in a maximized state, we do not
    have to reserve space for the window shadow. This partially fixes
    T2578. I say partially because there is still a little bit of blank
    space around a maximized window.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 data/themes/edc/elm/border.edc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/data/themes/edc/elm/border.edc b/data/themes/edc/elm/border.edc
index 3809582..6f516f0 100644
--- a/data/themes/edc/elm/border.edc
+++ b/data/themes/edc/elm/border.edc
@@ -818,6 +818,10 @@ group { name: "elm/border/base/default";
             rel1.offset: 7 5;
             rel2.offset: -8 -12;
          }
+         description { state: "max";
+            rel1.offset: 0 0;
+            rel2.offset: -1 -1;
+         }
       }
       part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip";
          description { state: "default" 0.0;
@@ -1486,6 +1490,7 @@ group { name: "elm/border/base/default";
          target: "elm.swallow.client";
          target: "bottom";
          target: "bevel2";
+         target: "shadow_spacer";
          target: "elm.event.resize.bl";
          target: "elm.event.resize.b";
          target: "elm.event.resize.br";
@@ -1496,6 +1501,7 @@ group { name: "elm/border/base/default";
          target: "elm.swallow.client";
          target: "bottom";
          target: "bevel2";
+         target: "shadow_spacer";
          target: "elm.event.resize.bl";
          target: "elm.event.resize.b";
          target: "elm.event.resize.br";

-- 


Reply via email to