This commit fixes input locking when suspend was invoked autoatically after a certain amount of time. Previously, it would invoke the lockscreen first, then dim the screen and finally suspend the machine. While suspending it would invoke the lockscreen *again* however, which seems to lead to generally locking input (perhaps 2 instances of waylock disable each others' input ability?). This change checks for a running lockscreen first before invoking another one, which should hopefully fix the issue. |
||
|---|---|---|
| .. | ||
| init | ||