discomfitor pushed a commit to branch master.

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

commit a2d85fc0abddbc0740a444fd193a8cb4b898dea9
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Oct 3 11:20:15 2013 +0100

    don't delete just-set desktop/icon objects for borders during new_client run
---
 src/bin/e_border.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 667bbf4..e8ff944 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -8928,12 +8928,12 @@ _e_border_eval(E_Border *bd)
 
    if (bd->changes.icon)
      {
-        if (bd->desktop)
+        if (bd->desktop && (!bd->new_client))
           {
              efreet_desktop_free(bd->desktop);
              bd->desktop = NULL;
           }
-        if (bd->icon_object)
+        if (bd->icon_object && (!bd->new_client))
           {
              evas_object_del(bd->icon_object);
              bd->icon_object = NULL;

-- 


Reply via email to