boolean (@NotNull Component parent, @NotNull Rectangle desiredScreenBounds, @Nullable ScreenAreaConsumer excludedConsumer) { if (!Registry.is("ide.use.screen.area.tracker", false)) { return true; } Window window = ComponentUtil.getWindow(parent); if (window != null) { for (ScreenAreaConsumer consumer : ourAreaConsumers) { if (consumer == excludedConsumer) continue; if (window == consumer.getUnderlyingWindow()) { Rectangle area = consumer.getConsumedScreenBounds(); if (area.intersects(desiredScreenBounds)) { return false; } } } } return true; }