Recently I’ve encountered a weird bug where sometimes my mouse randomly just completely stops working, I can still move the pointer, but it doesn’t respond to hovering over anything and clicking does nothing. And not like, it only happens with a specific mouse either, but mouse input in general. I’ve tested it with two touchpads, one bluetooth mouse and the USB dongle from that bluetooth mouse.
I’ve tried debugging it with sudo libinput debug-events and there I can see my mouse input actually happening and that’s about as far as I got with debugging it because I don’t really know what else to try.
Sometimes a weird possibly unrelated variation of this bug occurs where I can click, but only on one specific window no matter whether it’s the focused one or not, and if it’s not focused it becomes the focused window, preventing me from clicking on anything else.
The bug also persists in the Alt+Tab screen so I doubt it’s a single invisible window capturing all the input or whatever, but I really have no idea what it might be.