Commit Graph

31 Commits

Author SHA1 Message Date
Miculcy Brian 9d781fa8ac Backlight, screenlock and screensaver don't check for fullscreen windows - we have presentation mode for that.
SVN revision: 82772
2013-01-14 17:26:13 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Miculcy Brian 4034a15345 Added option for doing desklock, blanking or dimming even when showing fullscreen windows.
SVN revision: 82358
2013-01-07 19:46:38 +00:00
Miculcy Brian 796317970a Don't blank on fullscreen windows (as we don't run the screenlock on fullscreen windows). Check all zones for fullscreen windows.
SVN revision: 82354
2013-01-07 16:13:17 +00:00
Miculcy Brian d0c143b615 No backlight dimming when in presentation mode. Backlight fade time only applies to dimming - undimming is fixed 0.5 .
SVN revision: 82348
2013-01-07 14:28:26 +00:00
Carsten Haitzler f0c9f5121c lots of buglet-fixing. this does:
1. make idle fade timer work at all (dodnt work before)
2. fixes backlight status on e restart
3. fixes setting bl level on start
4. improves the compositor fade in/out effect by ALSO fading backlight
in and out... oh so much smoother now
5. fixes label in ui to be seconds, not minutes.
6. in order to make this all work - it adds a special screensaver
event inside of e that the screensaver subsystem generates based on
the real x one.



SVN revision: 80538
2012-12-09 06:27:42 +00:00
Mike Blumenkrantz 1eda0a3417 some text fixes from thomasg
SVN revision: 79910
2012-11-30 15:39:17 +00:00
Carsten Haitzler 16e8ff0ff5 disable the screensaver/dpms blank forcing - it fixes 1 xorg issue but
triggers others on other xorgs. ugh.



SVN revision: 79074
2012-11-10 01:44:50 +00:00
Mike McCormack 90e5189ca4 e: Fix warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77861
2012-10-11 11:22:58 +00:00
Carsten Haitzler bdf8471cd5 try not do anything with screensaver interval except setting it to 0
SVN revision: 77748
2012-10-10 10:40:21 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Carsten Haitzler 4639f361b3 more dpms /screensaver setting force set to work around an apparent
xorg bug.



SVN revision: 76342
2012-09-08 12:17:29 +00:00
Carsten Haitzler 7d595adf7b work around x dpms bug which seems to forget about doing dpms 2nd time
around so force a reset of screensaver/dpms settings after coming out
of blank.



SVN revision: 75940
2012-09-02 07:37:24 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 1d7601afac and also use same delay from screensaver start to suspend for power
removed to suspend.



SVN revision: 62657
2011-08-21 11:14:36 +00:00
Carsten Haitzler 9e0032aabf and allow config to suspend even if on AC power (ie if disabled wont
suspend on blank if connected to AC)



SVN revision: 62656
2011-08-21 11:02:33 +00:00
Carsten Haitzler d88e160f25 as per e17 release todo:
|| LOW  || Power    || Add suspend/hibernate w/ screen blank or low battery config option ||             ||     || ||

:)



SVN revision: 62655
2011-08-21 10:44:23 +00:00
Sebastian Dransfeld 79534e3bdb free right event handlers
SVN revision: 55402
2010-12-09 09:18:58 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Gustavo Sverzut Barbieri c5642870c3 do not abuse _init(), provide _update() method instead.
SVN revision: 54794
2010-11-22 15:21:24 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 5a7b450c04 Patch from rubenbb to fix ticket #562 (dpms being turned off by
fullscreen windows).

I modified this patch slightly. Removed some unused handlers. limits.h
is already included in e.h, so no need to reinclude it. Fixed formatting.



SVN revision: 50356
2010-07-18 19:06:00 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Gustavo Sverzut Barbieri 9e581982f7 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
2010-05-28 22:13:20 +00:00
Gustavo Sverzut Barbieri ba79908621 non-resiable "presentation mode" dialogs and -Wextra/trailing whitespace cleanups.
SVN revision: 47060
2010-03-09 00:31:44 +00:00
Gustavo Sverzut Barbieri 080c0be517 minor improvements to dialogs asking to enter presentation mode.
SVN revision: 40521
2009-05-06 12:00:19 +00:00
Massimo Maiurana 586ef62d8d another little typo to fix
SVN revision: 40461
2009-04-29 15:39:00 +00:00
Gustavo Sverzut Barbieri ddd175a2f2 Ask to enter presentation mode.
If you deactivate screensaver (ie: move mouse) or unlock desklock
within some given threshold, ask user if he would like to enter
presentation mode or even if should increase timeout to next event.

This is also useful when at the office and you quickly move mouse in
order to keep your explanation. If you know your explanation is short,
just hit "increase timeout", otherwise "Yes" to increase timeout.

Increase timeout is a multiplier that will increment the factor on
each dialog answer.

There is an option to stop asking. This can be changed in "Advanced"
versions of screensaver and desklock dialogs.



SVN revision: 40414
2009-04-27 02:54:43 +00:00
Gustavo Sverzut Barbieri d2be2c99a7 dpms, screensaver and desklock now respect "presentation" mode.
Wow, no need to go to "Settings" and then 3 dialogs to do my presentations!


SVN revision: 40381
2009-04-25 16:49:53 +00:00
Christopher Michael 7a3f2f0ed2 Ravenlock's combined dpms/screensaver patches and new config dialogs.
Nice work :)


SVN revision: 28346
2007-02-13 16:33:35 +00:00