mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
The fix IDEA-100557 should be reverted because of found regressions.
This commit is contained in:
+5
-7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user