I'm asking this question after I got a very good answer to: How do I detect the 2 states of “Switch User” in Windows
My intention is to find out if the Switch User under KDE/Gnome has a similar API call I can monitor with FreePascal.
If not with FreePascal, at least the respective lib entry used in C/C++