benruijl / sflock

Simple X display locker, with basic user feedback. Based on slock.
MIT License
50 stars 21 forks source link

Prevent VT switching? #2

Closed mattikus closed 13 years ago

mattikus commented 13 years ago

Not sure how easy/feasible this is, but would it be possible to have an option to prevent switching to a VT? I know xlockmore has the ability to do it somehow.

Thanks.

benruijl commented 13 years ago

I have found a way to do it using the VT_LOCKSWITCH ioctl. I'll implement it soon :)

benruijl commented 13 years ago

I have implemented the feature. :)

mattikus commented 13 years ago

Works great! Awesome turnaround time. This is by far the perfect screen locker.