This happened on both Fedora and Ubuntu, both X11 and Wayland on Ubuntu. I'm not sure under what conditions it happens, but it has something to do with my laptop's screen waking up after going...