Windows take over the cursor input of other windows on X11 proprietary NVIDIA driver
Affected version
- Arch Linux and fresh install of Fedora, updated through dnf and with installed proprietary NVIDIA drivers.
- NVIDIA drivers 510.68.02 (on Fedora), 515.48.07 (on Arch Linux).
- GNOME 42.2
- Xorg only.
Bug summary
Windows randomly take over the cursor input from other windows and redirect it to itself.
Steps to reproduce
Happens randomly if there is more than one window opened.
What happened
Windows randomly take over the cursor input from other windows and redirect it to itself. An example of this would be Firefox taking over cursor input from GNOME Terminal, in that case if I click something in the Terminal window, it doesn't react and the click is redirected to Firefox instead, that way I'm able to click buttons on web pages in Firefox by clicking on a terminal in the place where the button would be in the Firefox window, almost as if terminal window is not there, except this happens even if those two windows are on different workspaces. Doesn't seem to affect keyboard input.
Aside from that, this also applies to GNOME UI. When this issue occurs, GNOME doesn't react to clicks on the top bar and doesn't react to Super button being pressed, Alt + Tab works fine though.
This part is really weird, but it also seems like web browsers and Electron apps (can reproduce in Firefox, Discord client and Chromium from Flathub) randomly go back to previous page when scrolling both on Xorg and Wayland, it started doing that around the same time this issue started occurring and it never happens if this issue doesn't occur.
This issue seems to randomly fix itself after some time passes, but it happens rather often anyway.