Is it possible in python to tell if a full screen application on linux is running?
I have a feeling it might be possible using Xlib but I haven’t found a way.
EDIT: By full screen I mean the WHOLE screen nothing else but the application, such as a full-screen game.
Found a solution:
This prints out the number of fullscreen windows which for me is normally one. When playing a full screen game its 2.