Let's not do the add unless it's needed. Rather nasty side

effect there :)

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6934
This commit is contained in:
sleuth 2003-05-24 13:22:52 +00:00 committed by sleuth
parent c85a9b2f8c
commit e5841f4bfe
1 changed files with 4 additions and 3 deletions

View File

@ -614,10 +614,11 @@ e_desktops_rm_sticky(E_Border *b)
{
D_ENTER;
e_desktops_add_border(current_desk, b);
if (evas_list_find(sticky_list, b))
sticky_list = evas_list_remove(sticky_list, b);
{
sticky_list = evas_list_remove(sticky_list, b);
e_desktops_add_border(current_desk, b);
}
D_RETURN;
}