Proposal: _NET_WM_STATE_NO_BLANKING



Hi,

I wanted to suggest another hint called _NET_WM_STATE_NO_BLANKING to the
_NET_WM_STATE property. This atom will signify that the window requests
the current screen not to be blanked (by screen saver / DPMS). As long
as there's at least one window on the screen which has this hint, the
screen saver will not be activated.
(I doubt it's possible to control DPMS per-monitor in current XFree86;
We might leave it as a option for the future.)

It'll be the window manager's responsibility to notify the screen saver
component of the desktop environment.

This solves the problem with movie players which disable DPMS
themselves, where they don't re-enable it properly upon abnormal
termination. Upon seeing this property in the _NET_SUPPORTED list, a
player (or any other application which may require attention without
requiring input for a prolonged time) would stop using the manual
method of disabling DPMS and set this property instead.

P.S. You are welcome to pick a better name for the atom; maybe the
window should indicate that it "requires attention without requiring
input" (instead of plain saying "I don't want a screen saver").



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]