Give xdg-screensaver the ability to report the current timeout
Submitted by Reuben Thomas
Assigned to Portland Bugs
Description
This would be useful for programs that want to manage the screensaver, to minimise polling. For example, Caffeine inhibits the screensaver if a window is full-screen. It currently checks every 30 seconds (a reasonable minimum), but if the screensaver timeout were known, it could check that often minus a few seconds and save CPU time and power.