forked from enlightenment/enlightenment
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:
parent
c85a9b2f8c
commit
e5841f4bfe
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue