IdeGlassPane: non-resizing popups fix
authorKirill Kalishev <Kirill.Kalishev@jetbrains.com>
Fri, 11 Sep 2009 11:21:50 +0000 (15:21 +0400)
committerKirill Kalishev <Kirill.Kalishev@jetbrains.com>
Fri, 11 Sep 2009 11:21:50 +0000 (15:21 +0400)
platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java

index 5324e14bfa9c08a20033bd2b971adca3e27d531a..0338c47a139c993fadd5c10d3e6f205251c9c76f 100644 (file)
@@ -220,7 +220,7 @@ private MouseEvent convertEvent(final MouseEvent e, final Component target) {
     IdeEventQueue queue = IdeEventQueue.getInstance();
     if (!queue.containsDispatcher(this) && myPreprocessorActive) {
       queue.addDispatcher(this, null);
-    } else if (queue.containsDispatcher(this) && myPreprocessorActive) {
+    } else if (queue.containsDispatcher(this) && !myPreprocessorActive) {
       queue.removeDispatcher(this);
     }