After searching for a long time, I think I found the bug report about this issue. It's really either a libinput or xorg bug. Are you using a laptop with touchpad by any chance? Blacklisting the touchpad input seems to have fixed it for me, but it's still too soon to be sure. You should give it a try and report back. https://bugs.freedesktop.org/show_bug.cgi?id=26213#c22 Let me know if that works for you. And now I'm even more prompt to jump ship and install Wayland. Xorg is a pain in the ass.
Ciao. On Fri, Apr 22, 2016 at 4:38 PM, Andrew Fuller <a...@google.com> wrote: > I ran into the same issue about a week ago, using i3wm+st. Exactly the > same symptoms as you described, and it's the first time it's ever > happened to me. Unfortunately I "fixed" it by unplugging/replugging my > house and I don't know how to reproduce it. But I haven't restarted > any software or rebooted since then, so the problem should still exist > on my setup. Let me know if I can help you track this down. > > Andrew > > On Fri, Apr 22, 2016 at 9:49 AM, Alba Pompeo <albapom...@gmail.com> wrote: >> Dears, >> >> I have a weird bug and I'm not sure how to find the culprit. >> I'm using dwm and from time to time my mouse pointer gets locked. >> Highlighting text on st doesn't work, right-clicking on firefox >> doesn't work, left-click dragging on pdf-reader doesn't work, slock >> errors, windows don't get focused and other clumsy things. When I >> restart X the problem is solved, but it soon happens again. >> I'm very lost as what's the cause of this. >> I tried logging dwm's stderr, but found nothing relevant there. >> The only clue I have is that when I try to run slock while the bug is >> happening, I get this message --- slock: unable to grab mouse pointer >> for screen 0 >> Who could be the culprit here? dwm? xorg? driver? >> Can anyone think of a way to debug this? >> Thanks a lot. >> >> Ciao. >> >