Re: [E-devel] Desklock's idle timer....

2007-04-04 Thread The Rasterman
On Wed, 21 Mar 2007 06:00:46 -0500 Ravenlock [EMAIL PROTECTED] babbled:

 On 03/21/2007 04:47, Carsten Haitzler (The Rasterman) wrote:
  On Mon, 19 Mar 2007 00:50:26 -0500 Ravenlock [EMAIL PROTECTED]
  babbled:
  
  Hello,
 
  The desklock's idle timer was apparently broken from the start. 
  Keyboard activity was not considered when determining if the user was 
  active or not.
 
  Here are some patches which fix this.  With these patches a persons 
  keyboard and mouse activity are both taken into consideration when 
  determining if the user is active.
 
  This implementation requires that the XScreensaver extension be present. 
This is the easy fix.  If the powers that be prefer that this 
  functionality *not* depend on the XScreensaver extension, well... then 
  its a bigger problem.
 
  Questions/comments/complaints welcome. :)
  
  actually desklocks idle thing has always been broken. the e_manage though
  uses the xscreensaver events in _e_manager_cb_screensaver_notify() to turn
  on desklock if the screensaver kicks in :)
 
 
 *That* timer still exists.  However, I created a new timer that was 
 separate from that which will allow a user to lock the screen either 
 before or after the X screesaver, or at the same time as some other 
 third party saver.  That timer was not functioning properly.  I am 
 hoping this patch fixes the problem I introduced.

a patch read seems to show that desklock still runs a timer and polls idle time
- e_manager already uses the screensaver event (blank timeout kicked in) to
signal desklock to go. i should remove the idle timer stuff from desklock
anyway as not depending on screensaver really isn't sane as you can't really
necessarily intercept key stroked everywhere on the screen and same for mouse.

 
  -- 
  Regards,
  Ravenlock
 
  
  
 
 
 -- 
 Regards,
 Ravenlock
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock's idle timer....

2007-03-21 Thread The Rasterman
On Mon, 19 Mar 2007 00:50:26 -0500 Ravenlock [EMAIL PROTECTED] babbled:

 Hello,
 
 The desklock's idle timer was apparently broken from the start. 
 Keyboard activity was not considered when determining if the user was 
 active or not.
 
 Here are some patches which fix this.  With these patches a persons 
 keyboard and mouse activity are both taken into consideration when 
 determining if the user is active.
 
 This implementation requires that the XScreensaver extension be present. 
   This is the easy fix.  If the powers that be prefer that this 
 functionality *not* depend on the XScreensaver extension, well... then 
 its a bigger problem.
 
 Questions/comments/complaints welcome. :)

actually desklocks idle thing has always been broken. the e_manage though uses
the xscreensaver events in _e_manager_cb_screensaver_notify() to turn on
desklock if the screensaver kicks in :)

 -- 
 Regards,
 Ravenlock
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desklock's idle timer....

2007-03-21 Thread Ravenlock
On 03/21/2007 04:47, Carsten Haitzler (The Rasterman) wrote:
 On Mon, 19 Mar 2007 00:50:26 -0500 Ravenlock [EMAIL PROTECTED] babbled:
 
 Hello,

 The desklock's idle timer was apparently broken from the start. 
 Keyboard activity was not considered when determining if the user was 
 active or not.

 Here are some patches which fix this.  With these patches a persons 
 keyboard and mouse activity are both taken into consideration when 
 determining if the user is active.

 This implementation requires that the XScreensaver extension be present. 
   This is the easy fix.  If the powers that be prefer that this 
 functionality *not* depend on the XScreensaver extension, well... then 
 its a bigger problem.

 Questions/comments/complaints welcome. :)
 
 actually desklocks idle thing has always been broken. the e_manage though uses
 the xscreensaver events in _e_manager_cb_screensaver_notify() to turn on
 desklock if the screensaver kicks in :)


*That* timer still exists.  However, I created a new timer that was 
separate from that which will allow a user to lock the screen either 
before or after the X screesaver, or at the same time as some other 
third party saver.  That timer was not functioning properly.  I am 
hoping this patch fixes the problem I introduced.


 -- 
 Regards,
 Ravenlock

 
 


-- 
Regards,
Ravenlock

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel