mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-106716 Unity: Idea takes away focus after first window activation
Let the frame to request focus if the Application is active
This commit is contained in:
@@ -95,7 +95,7 @@ public class IdeFrameImpl extends JFrame implements IdeFrameEx, AccessibleContex
|
||||
setSize(size);
|
||||
setLocationRelativeTo(null);
|
||||
|
||||
if (Registry.is("suppress.focus.stealing")) {
|
||||
if (Registry.is("suppress.focus.stealing") && !ApplicationManagerEx.getApplicationEx().isActive()) {
|
||||
setAutoRequestFocus(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user