discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=87b90030927357b11a3420cb6354c42b074db7e1
commit 87b90030927357b11a3420cb6354c42b074db7e1 Author: Mike Blumenkrantz <[email protected]> Date: Mon Jul 28 08:32:24 2014 -0400 use e_client_border_set() in tiling --- src/modules/tiling/e_mod_tiling.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 65df132..50f431a 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -217,19 +217,9 @@ is_tilable(const E_Client *ec) static void change_window_border(E_Client *ec, const char *bordername) { - 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; - } ec->border.changed = 0; + if (e_client_border_set(ec, bordername)) + eina_stringshare_refplace(&ec->bordername, ec->border.name); DBG("%p -> border %s", ec, bordername); } --
