Changeset 2500 for neercs/trunk/src/main.c
- Timestamp:
- 06/28/08 16:50:59 (5 years ago)
- File:
-
- 1 edited
-
neercs/trunk/src/main.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/main.c
r2497 r2500 119 119 } 120 120 121 121 122 screen_list->recurrent_list = (struct recurrent_list*) malloc(sizeof(struct recurrent_list)); 122 123 screen_list->recurrent_list->recurrent = (struct recurrent**) malloc(sizeof(struct recurrent*)); … … 304 305 305 306 last_key_time = get_us(); 306 307 307 308 308 for(;;) … … 420 420 421 421 } 422 423 422 if((get_us() - last_key_time > screen_list->screensaver_timeout)) 424 423 { … … 431 430 refresh = 1; 432 431 } 432 433 if((get_us() - last_key_time > screen_list->autolock_timeout)) 434 { 435 screen_list->locked = 1; 436 refresh = 1; 437 } 438 433 439 } 434 440 … … 542 548 screen_list->default_shell = NULL; 543 549 550 screen_list->autolock_timeout = -1; 551 552 544 553 screen_list->recurrent_list = NULL; 545 554 screen_list->cv = NULL;
Note: See TracChangeset
for help on using the changeset viewer.
