diff --git a/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/JBRunnerTabs.java b/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/JBRunnerTabs.java index 0873fe91e6e0..70beed4ea9a2 100644 --- a/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/JBRunnerTabs.java +++ b/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/JBRunnerTabs.java @@ -235,8 +235,9 @@ public class @Override public void processDropOver(TabInfo over, RelativePoint relativePoint) { - super.processDropOver(over, relativePoint); final Point point = relativePoint.getPoint(getComponent()); + myShowDropLocation = shouldAddToGlobal(point); + super.processDropOver(over, relativePoint); for (Map.Entry entry : myInfo2Label.entrySet()) { final TabLabel label = entry.getValue(); if (label.getBounds().contains(point) && myDropInfo != entry.getKey()) {