The fix IDEA-100557 should be reverted because of found regressions.

This commit is contained in:
Denis Fokin
2013-04-16 17:04:03 +04:00
parent 8608b46160
commit f05005d3b2
@@ -1200,13 +1200,11 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
myActive = Boolean.valueOf(active);
System.setProperty("idea.active", myActive.toString());
ApplicationActivationListener publisher = getMessageBus().syncPublisher(ApplicationActivationListener.TOPIC);
if (SystemInfo.isLinux) {
if (active) {
publisher.applicationActivated(ideFrame);
}
else {
publisher.applicationDeactivated(ideFrame);
}
if (active) {
publisher.applicationActivated(ideFrame);
}
else {
publisher.applicationDeactivated(ideFrame);
}
return true;
}