Hacker News new | past | comments | ask | show | jobs | submit login

All the cgit.freedesktop.org links in the seclists thread time out for me. Do they point to the commit or work for others?



The offending commit[1] loads fine for me, but I'd rather not call out some poor OSS contributor by name here.

My question is: what is the actual function/line that causes the screen lock to die? My C knowledge is close to non-existent, but the ungrab all function looks a bit suspicious. Some commentary by someone who understands what's going on here would be appreciated.

[1]: http://cgit.freedesktop.org/xorg/xserver/commit/?id=7d2543a3...


X11 screen lockers (usually) work by filling the screen and grabbing all keyboard and mouse input. The UngrabAllDevices function interferes with this functionality, and optionally kills the "offending" process.

Said functionality is entirely intentional, although presumably the author didn't consider the implications outside of a debugging context.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: