logout effect: remove deleted windows from list

fwd port of 04831d049f73bb38694d7cecc4ea170b2a26a149
This commit is contained in:
Thomas Lübking 2011-02-06 16:54:20 +01:00
parent 7b5683f74b
commit c513099354

View file

@ -318,6 +318,7 @@ void LogoutEffect::windowClosed(EffectWindow* w)
void LogoutEffect::windowDeleted(EffectWindow* w) void LogoutEffect::windowDeleted(EffectWindow* w)
{ {
windows.removeAll(w);
ignoredWindows.removeAll(w); ignoredWindows.removeAll(w);
if (w == logoutWindow) if (w == logoutWindow)
logoutWindow = NULL; logoutWindow = NULL;