https://bugs.winehq.org/show_bug.cgi?id=46976
--- Comment #27 from Eduardo eduardo.cruz@kdemail.net --- It's not happening to me anymore. Same hardware, same mouse, same game (Starcraft II). I have updated many packages on my system since then, I don't know what fixed it, but I know it wasn't wine because I tried downgrading to wine-6.22 (Staging) and the bug still doesn't come back. Maybe the kernel? Now I'm on 5.15.11, I didn't take note of what kernel version I had back when I had the bug, but I'm pretty sure it was already some subversion of 5.15.