Package: xtrlock
Version: 2.0-r1

xtrlock fails to do anything when called through a keybinding.  This seems to occur because it attempts to grab the keyboard between the KeyPress and a KeyRelease  events.  The solution would be to change the line [XGrabKeyboard(dpy);] to [while(XGrabKeyboard(dpy));].  It may be better to use a for loop instead, because the infinite while could cause X to deadlock.

Reply via email to