Ignore:
Timestamp:
Jun 28, 2008 4:50:59 PM (6 years ago)
Author:
jylam
Message:
  • Added an autolock timeout (autolock_timeout = N in configuration file)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/configuration.c

    r2481 r2500  
    283283            /* if timeout is 0, set it to 0xFFFFFFFFFFFFFFFF */ 
    284284            if(!screen_list->screensaver_timeout) screen_list->screensaver_timeout-=1; 
     285        }  else if(IS_TOKEN("autolock_timeout")) 
     286        { 
     287            screen_list->autolock_timeout = atoi(option->value) * 1000000; 
     288            /* if timeout is 0, set it to 0xFFFFFFFFFFFFFFFF */ 
     289            if(!screen_list->autolock_timeout) screen_list->autolock_timeout-=1; 
    285290        } else if(IS_TOKEN("socket_dir")) 
    286291        { 
Note: See TracChangeset for help on using the changeset viewer.