diff --git a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java index 5565d79fbb90..9b2d298a062e 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java @@ -780,11 +780,6 @@ public class AbstractPopup implements JBPopup { if (myMovable) { ScreenUtil.moveRectangleToFitTheScreen(targetBounds); } - else { - Rectangle screen = ScreenUtil.getScreenRectangle(targetBounds.x, targetBounds.y); - targetBounds.width = screen.width; - targetBounds.height = screen.height; - } } if (myMouseOutCanceller != null) {