Detecting I / O session under KDE / Gnome with FreePascal
I am asking this question after I got a very good answer: How to define 2 "Switch User" states in Windows
My intention is to find out if the Switch user in KDE / Gnome has a similar API call that I can control with FreePascal.
If not with FreePascal, at least the corresponding lib entry used in C / C ++ is
0
source to share