sometimes keyboard doesn't work and mouse doesn't click in X11
Every once in a while, either the keyboard won't work, the mouse won't click, or sometimes both. This usually lasts about 10 to 30 seconds. If the mouse isn't working, sometimes hover events are still registered, as I can see the highlighting of tabs in firefox as I move the mouse over them.
Also, if the keyboard isn't working, I can still switch to a tty and use it there.
I'm currently using xmonad, but I also had this issue in kde, and I'm pretty sure I had it in Gnome as well.
Sometimes quitting a particular application will make the mouse work again. In the past, this has been the gnome terminal, but it may have been other programs at other times as well.
I am using the amd64 port.