Issue 476 in xmonad: Xmonad should release key binding before spawning

Status: New Owner: ---- New issue 476 by JohnTy...@gmail.com: Xmonad should release key binding before spawning http://code.google.com/p/xmonad/issues/detail?id=476 Using scrot here to take screen shots. Scrot grabs the keyboard to listen for a keypress as a signal to abort. If the keyboard is not avaiable, it dies with error: ```giblib error: couldn't grab keyboard:Resource temporarily unavailable``` To test: bind "scrot -s > /tmp/logfile" to a keypress in xmonad.hs Activate keypress, nothing happens. Check logfile, find error stated above. I think it's a race condition because binding to "sleep 0.2; scrot -s" works here. The real problem is that xmonad is unnecessarily hanging on to keyboard and the spawned app is expecting it. What version of the product are you using? On what operating system? 0.9.2/slackware linux
participants (1)
-
codesite-noreply@google.com