Cursor freezes and shows black/white screen when working with multiple windows

Describe the Bug

Weird input buffering is occurring after several UI events of certain kinds. The attached .gif shows this in the menus.

It also happens with mouse-wheel scrolling in the code editor, but this is harder to demonstrate in a screen cap. I scroll down 3 notches, the editor moves down only 2. I scroll up three notches, the editor moves down 1, then up two. The third down has only been applied when I scroll up once. In other words, every movement is one step behind.

Occasionally, when something falls behind, it causes the entire UI to become pitch black for a moment, and nothing is visible.

Steps to Reproduce

Move the mouse back and forth over the menus. Scroll back and forth in the editor.

Expected Behavior

Mouse pointer and scroll wheel movements take effect immediately. There is no input buffering.

Screenshots / Screen Recordings

Peek 2025-08-10 07-23.gif

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.3
VSCode Version: 1.99.3
Commit: e50823e9ded15fddfd743c7122b4724130c25df0
Date: 2025-08-08T17:34:53.060Z
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-65-generic
Distro: Ubuntu 22 LTS
GNOME Version: 42.9
Windowing System: Wayland

Additional Information

This has been happening for a while on my system, but I thought the lag issue that’s blowing up might be related somehow, so reporting it now. Notably, VS Code doesn’t suffer from this issue. My workstation has plenty of memory, storage, and compute.

Does this stop you from using Cursor

No - Cursor works, but with this issue