dont find deleted remember items

SVN revision: 15659
This commit is contained in:
Carsten Haitzler 2005-07-07 09:27:58 +00:00
parent 2f97710e8f
commit e965a67b0d
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ e_remember_find(E_Border *bd)
(bd->client.icccm.window_role) && (rem->role) && (bd->client.icccm.window_role) && (rem->role) &&
(!strcmp(rem->role, bd->client.icccm.window_role))) (!strcmp(rem->role, bd->client.icccm.window_role)))
matches++; matches++;
if (matches >= required_matches) if ((matches >= required_matches) && (!rem->delete_me))
return rem; return rem;
} }
return NULL; return NULL;