i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
921 stars 404 forks source link

Measure wall-clock time instead of CPU time for “locking” indicator. #153

Closed stapelberg closed 7 years ago

stapelberg commented 7 years ago

related to https://github.com/i3/i3lock/issues/35

Changes the magic number to 100ms, which is commonly believed to be the threshold at which humans perceive changes as “instantaneous”. This is large enough to prevent flickering, and small enough to fix the issue.

stapelberg commented 7 years ago

Travis fails until this PR is rebased on top of https://github.com/i3/i3lock/pull/154

bebehei commented 7 years ago

Thank you @stapelberg for taking care about this.