The MIT-SCREEN-SAVER extension of the Xserver allows to control screensaver features, but also to query screensaver info on specific windows.
XScreenSaverQueryInfo() allows to know the time since the last input was received from the user on any of the input devices, which is quite useful to detect if there is some activity in a window (used by pidgin to set away status).
Comments are closed for this story.
Trackbacks are closed for this story.