Changeset 4026 for neercs/trunk
- Timestamp:
- Nov 23, 2009, 2:57:43 PM (13 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/Makefile.am
r3998 r4026 5 5 term.c grab.c effects.c wm.c screensaver.c attach.c \ 6 6 configuration.c mytrace.c mytrace.h input.c lock.c server.c \ 7 client.c screen_list.c help.c 8 neercs_CFLAGS = @CACA_CFLAGS@ 9 neercs_LDADD = @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ 7 client.c screen_list.c help.c python.c 8 neercs_CFLAGS = @CACA_CFLAGS@ @PYTHON3_CFLAGS@ 9 neercs_LDADD = @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON3_LIBS@ -
neercs/trunk/src/input.c
r3968 r4026 179 179 detach(screen_list); 180 180 break; 181 #ifdef USE_PYTHON 182 case 'e': 183 screen_list->python_command = 1; 184 break; 185 #endif 181 186 } 182 187 return refresh; -
neercs/trunk/src/neercs.h
r4016 r4026 178 178 int status; /* Status bar */ 179 179 int help; /* Help */ 180 int python_command; /* Python command */ 180 181 int border_size; /* Borders */ 181 182 int window_list; /* Window list */ … … 307 308 void draw_help(struct screen_list *screen_list); 308 309 int help_handle_key(struct screen_list *screen_list, unsigned int c); 310 #ifdef USE_PYTHON 311 int python_command_handle_key(struct screen_list *screen_list, unsigned int c); 312 void draw_python_command(struct screen_list *screen_list); 313 #endif 309 314 int update_window_list(int c, struct screen_list *screen_list); 310 315 void draw_list(struct screen_list *screen_list); -
neercs/trunk/src/screen_list.c
r4023 r4026 58 58 screen_list->mini = 1; 59 59 screen_list->help = 0; 60 screen_list->python_command = 0; 60 61 screen_list->status = 1; 61 62 screen_list->eyecandy = 1; -
neercs/trunk/src/screens.c
r4014 r4026 231 231 draw_list(screen_list); 232 232 } 233 #ifdef USE_PYTHON 234 if(screen_list->python_command) 235 { 236 draw_python_command(screen_list); 237 } 238 #endif 233 239 screen_list->changed = 0; 234 240 for (i = screen_list->count - 1; i >= 0; i--) -
neercs/trunk/src/server.c
r4016 r4026 455 455 return help_handle_key(screen_list, c); 456 456 } 457 457 #ifdef USE_PYTHON 458 if(screen_list->python_command) 459 { 460 return python_command_handle_key(screen_list, c); 461 } 462 #endif 463 458 464 /* CTRL-A has been pressed before, handle this as a command, except that 459 465 CTRL-A a sends literal CTRL-A */
Note: See TracChangeset
for help on using the changeset viewer.