remove unnecessary check

This commit is contained in:
Sergey Malenkov
2016-10-14 13:13:47 +03:00
parent e472be1098
commit a3d05d2148
@@ -286,7 +286,7 @@ public abstract class AbstractExpandableItemsHandler<KeyType, ComponentType exte
}
boolean focused = SystemInfo.isWindows || isFocused(owner);
for (Window other : owner.getOwnedWindows()) {
if (!focused && !SystemInfo.isWindows) {
if (!focused) {
focused = other.isFocused();
}
if (popup != other && other.isVisible() && bounds.x + 10 >= other.getX() && bounds.intersects(other.getBounds())) {