windowswitcher: fix an if-condition causing meta_window_appears_focused crashes whenever a window closes while switching windows

This commit is contained in:
Tom Beckmann 2013-01-19 20:07:59 +01:00
parent 9f084f940c
commit 449c1d4174

View File

@ -321,7 +321,7 @@ namespace Gala
}
}
if (found != null) {
if (found == null) {
warning ("No clone found for removed window");
return;
}