google / xsecurelock

X11 screen lock utility with security in mind
Apache License 2.0
863 stars 65 forks source link

Interrupt dimming animation on keyboard or mouse event #171

Closed gautaz closed 2 months ago

gautaz commented 1 year ago

Hello,

I have no idea if this is out of scope but it seems that currently the dimmer has to go to the end of the dimming animation before testing that any keyboard or mouse event occurred in the meantime.

Is there any way to interrupt the dimming animation as soon as such an event is detected?

gautaz commented 2 months ago

Spring cleaning time! In the meantime I have found out that this was due to process signaling impeded by the fact I had encapsulated the dimmer in another shell script.