Well I started working on this last week on Tuesday, but got hold up due to x-mas etc.
When I'm home I'll show you the exact lines where it checks, I'm not sure why it checks for userid 0. Maybe just leaving it out will make it work.
I don't think that the widget is useless, overlaying the switcher is just ugly and hackish. If you put the switcher into a widget the android way it would be a much better solution.
It's also the reason why I hadn't put up a topic on xda. Because my solution right now makes any widgets on the lock screen get an offset and I'd rather get the widget working so if you use the tile switcher it doesn't add a non existing one (square with a plus sign).
Just my two cents
Sent from my GT-I9300 using xda app-developers app
I do agree that it would be nice making the widget, but do remember that CM10.1 still has a long way to go for the i9300.
Also I don't have the development environment setup for Android because I'm a C# and Web developer so I find it easier to stick with Windows.
Plus I'm too lazy / busy with other projects to setup a forth development environment, I just made this mod so my girlfriend could play games on my phone and install all her stuff without cluttering my user space. :silly: