discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d621cb6738dff4ba93698984176eacc97a4cdd4a

commit d621cb6738dff4ba93698984176eacc97a4cdd4a
Author: Mike Blumenkrantz <[email protected]>
Date:   Sun Jul 27 16:53:25 2014 -0400

    tiling should stop pussyfooting around frame changes and do its own 
gruntwork
    
    fix T993
---
 src/modules/tiling/e_mod_tiling.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/modules/tiling/e_mod_tiling.c 
b/src/modules/tiling/e_mod_tiling.c
index 3d0eb2c..51e5d79 100644
--- a/src/modules/tiling/e_mod_tiling.c
+++ b/src/modules/tiling/e_mod_tiling.c
@@ -217,10 +217,18 @@ is_tilable(const E_Client *ec)
 static void
 change_window_border(E_Client *ec, const char *bordername)
 {
-   eina_stringshare_replace(&ec->bordername, bordername);
-   ec->border.changed = true;
-   ec->changes.border = true;
-   EC_CHANGED(ec);
+   Eina_Stringshare *pborder;
+
+   if (!e_util_strcmp(ec->border.name, bordername)) return;
+   pborder = ec->border.name;
+   ec->border.name = eina_stringshare_add(bordername);
+   if (e_comp_object_frame_theme_set(ec->frame, bordername))
+     eina_stringshare_del(pborder);
+   else
+     {
+        eina_stringshare_del(ec->border.name);
+        ec->border.name = pborder;
+     }
 
    DBG("%p -> border %s", ec, bordername);
 }

-- 


Reply via email to