Changeset 3896
- Timestamp:
- Nov 10, 2009, 5:10:22 PM (13 years ago)
- Location:
- neercs/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/TODO
r3487 r3896 2 2 - Add some options 3 3 * Autolock after n seconds of screensaver 4 * Autolock on detach5 4 - Improve performance 6 - Preserve terminal state when grabbing7 5 - Fix arrow keys in vim 8 - Process browser to easily hijack applications -
neercs/trunk/doc/neercs.1
r3456 r3896 1 .TH neercs 1 "2009- 05-12" "neercs"1 .TH neercs 1 "2009-11-10" "neercs" 2 2 .SH NAME 3 3 neercs \- text-mode window manager … … 82 82 Lock screen after \fIn\fR seconds of inactivity. 83 83 .TP 5 84 .BI lock_on_detach= bool 85 .Lock screen when detaching. 86 .TP 5 84 87 .BI socket_dir= dir 85 88 Store sockets in \fIdir\fP. Default location is taken from -
neercs/trunk/src/configuration.c
r3551 r3896 314 314 /* if timeout is 0, set it to 0xFFFFFFFFFFFFFFFF */ 315 315 if(!screen_list->autolock_timeout) screen_list->autolock_timeout-=1; 316 } else if(IS_TOKEN("lock_on_detach")) 317 { 318 if (IS_VALUE("true") || IS_VALUE("1")) screen_list->lock_on_detach = 1; 319 else screen_list->lock_on_detach = 0; 316 320 } else if(IS_TOKEN("socket_dir")) 317 321 { -
neercs/trunk/src/main.c
r3876 r3896 384 384 screen_list->locked = 0; 385 385 screen_list->lock_offset = 0; 386 screen_list->lock_on_detach = 0; 386 387 screen_list->attached = 1; 387 388 screen_list->socket[SOCK_SERVER] = 0; -
neercs/trunk/src/neercs.h
r3891 r3896 164 164 int locked; 165 165 int lock_offset; 166 int lock_on_detach; 166 167 long long unsigned int autolock_timeout; 167 168 char lockpass[1024]; -
neercs/trunk/src/server.c
r3894 r3896 180 180 { 181 181 screen_list->attached = 0; 182 if(screen_list->lock_on_detach) 183 screen_list->locked = 1; 182 184 if(screen_list->socket[SOCK_CLIENT]) 183 185 {
Note: See TracChangeset
for help on using the changeset viewer.