don't delete just-set desktop/icon objects for borders during new_client run

This commit is contained in:
Mike Blumenkrantz 2013-10-03 11:20:15 +01:00
parent 247f45f26f
commit a2d85fc0ab
1 changed files with 2 additions and 2 deletions

View File

@ -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;