Ignore:
Timestamp:
Nov 29, 2009, 12:49:42 PM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Moved lock-related stuff to struct lock
File:
1 edited

Legend:

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

    r4059 r4060  
    7474    screen_list->screensaver.data = NULL;
    7575    screen_list->screensaver.in_screensaver = 0;
    76     screen_list->locked = 0;
    77     screen_list->lock_offset = 0;
    78     screen_list->lock_on_detach = 0;
     76    screen_list->lock.autolock_timeout = -1;
     77    screen_list->lock.locked = 0;
     78    screen_list->lock.lock_offset = 0;
     79    screen_list->lock.lock_on_detach = 0;
    7980    screen_list->comm.attached = 1;
    8081    screen_list->comm.socket[SOCK_SERVER] = 0;
     
    8687    screen_list->default_shell = NULL;
    8788    screen_list->user_path = NULL;
    88     screen_list->autolock_timeout = -1;
    8989    screen_list->to_grab = NULL;
    9090    screen_list->to_start = NULL;
     
    105105    screen_list->dp = NULL;
    106106   
    107     memset(screen_list->lockmsg, 0, 1024);
    108     memset(screen_list->lockpass, 0, 1024);
     107    memset(screen_list->lock.lockmsg, 0, 1024);
     108c    memset(screen_list->lock.lockpass, 0, 1024);
    109109   
    110110   
Note: See TracChangeset for help on using the changeset viewer.