Do not activate DPMS, Screen Saver or Locker if there is a fullscreen window.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 28 May 2010 22:13:20 +0000 (22:13 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 28 May 2010 22:13:20 +0000 (22:13 +0000)
commit9e581982f7317e401432b5f506a79ef4010ea863
tree66d17fe0161600fcfea666f1a0a39aff0826fa16
parent1c3afc74b269ae63fec99fb76eabca1e95359c10
Do not activate DPMS, Screen Saver or Locker if there is a fullscreen window.

I guess there is nothing more annoying than having a fullscreen window
to watch a quick movie, read some text or webpage or whatever and have
the DPMS to show, or the screensaver to be activated or your screen to
be locked.

This patch uses the new border signal and counts, if there is at least
one fullscreen border, then avoid doing these annoyances.

I'm not accounting for any border parameter/property, like if it is in
a visible screen or desktop. I hope this is fine, otherwise let me know.

I also asked and common sense at IRC (at least to me and englebass) is
that there is no need to configure such behavior, so there is no
configure option for it.

I'm also thinking about maximized windows to have a configurable
behavior to match this, but I'm not sure.

SVN revision: 49262
src/bin/e_desklock.c
src/bin/e_dpms.c
src/bin/e_screensaver.c