Re-introduce the waiting loop for input grabbing
authorQuentin Rameau <quinq@fifth.space>
Thu, 1 Sep 2016 11:46:51 +0000 (13:46 +0200)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Fri, 2 Sep 2016 08:50:32 +0000 (10:50 +0200)
commite378f735d857f7da124177e3540912d920be5022
tree71a7ae72f7404ec9a4066fb039bf9dc95d6c2369
parent1f66885fbf36c726b7615060d3c98cbf74218d13
Re-introduce the waiting loop for input grabbing

We actually “need” to wait a little for input to be released before
locking for cases where slock is spawned from other graphical
applications using keybindings.
This undoes the misbehaviour I introduced in c2f9757, sorry for the mess.
slock.c