mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1427 pycharm jupyter preview stuck and no response when click on preview.
(cherry picked from commit1746b04686) (cherry picked from commit3c3c2ffa90)
This commit is contained in:
@@ -758,7 +758,7 @@ public class CInputMethod extends InputMethodAdapter {
|
||||
}
|
||||
}
|
||||
}}
|
||||
}, fAwtFocussedComponent);
|
||||
}, fAwtFocussedComponent, true); // [tav] avoid deadlock with javafx
|
||||
} catch (InvocationTargetException ite) { ite.printStackTrace(); }
|
||||
|
||||
synchronized(rect) { return rect; }
|
||||
@@ -779,7 +779,7 @@ public class CInputMethod extends InputMethodAdapter {
|
||||
offsetInfo[0] = fIMContext.getLocationOffset(screenX, screenY);
|
||||
insertPositionOffset[0] = fIMContext.getInsertPositionOffset();
|
||||
}}
|
||||
}, fAwtFocussedComponent);
|
||||
}, fAwtFocussedComponent, true); // [tav] avoid deadlock with javafx
|
||||
} catch (InvocationTargetException ite) { ite.printStackTrace(); }
|
||||
|
||||
// This bit of gymnastics ensures that the returned location is within the composed text.
|
||||
|
||||
Reference in New Issue
Block a user