Cursor freezes when using other windows

Describe the Bug

when selecting another window and then selecting cursor again, then the cursor window does not respond to input for some time. after a few seconds cursor responds again and applies the previous provided input.

sometimes an OS window pops up informing me that cursor is not responding, with the options to kill cursor or wait. after clicking wait and waiting for a bit cursor responds again.

this does not happen if you stay within the cursor window.

Steps to Reproduce

  • open cursor from a terminal
  • open a file from the project
  • switch to an open external terminal
  • switch back to cursor and try to input something or moving around in the open document.

Expected Behavior

cursor should respond immediately to input.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:13:13.763Z (2 days ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-60-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue