Search code examples
intellij-ideaidemouse-cursor

IntelliJ moving my mouse cursor in random positions


IntelliJ sometimes moves the cursor on default positions, like over the Find button when you do a Find in Path.

However recently it is moving my cursor to completely random positions. I suspect this is because of my multi-monitor setup.

A computer/IntelliJ restart doesn't fix the issue.

How can I disable this "automatic move" thing entirely?


Solution

  • you can disable "automatic moves" by Settings > Appearance & Behavior > Appearance, checkbox Automatically position cursor on default button. Docs


    Edit (2021-02-15): Something changed in the UI in recent versions. If you're having trouble finding the option you can edit the registry.

    Here is the request for missing option: https://youtrack.jetbrains.com/issue/IDEA-99985

    The option should be disabled though. Try checking focus.follows.mouse.workarounds in registry.

    You can open the registry by searching all Actions for Registry, then edit that value.