Changeset 2403 for neercs/trunk/src
- Timestamp:
- Jun 15, 2008, 3:28:32 PM (14 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/neercs.h
r2402 r2403 39 39 40 40 /* Other stuff */ 41 int visible; 41 42 int fd; 42 43 unsigned char *buf; -
neercs/trunk/src/screens.c
r2402 r2403 44 44 s->h = h+1; 45 45 s->bell = 0; 46 46 s->visible = 1; 47 47 s->fd = create_pty(command, w, h, &s->pid); 48 48 … … 154 154 for(i = screen_list->count - 1; i >=0; i--) 155 155 { 156 if(i!=pty )156 if(i!=pty && screen_list->screen[i]->visible) 157 157 { 158 158 cucul_blit(cv, -
neercs/trunk/src/wm.c
r2386 r2403 72 72 screen_list->screen[i]->x = (i*w)+1; 73 73 screen_list->screen[i]->y = 1; 74 74 screen_list->screen[i]->visible = 1; 75 75 if(i != screen_list->count -1) 76 76 { … … 95 95 screen_list->screen[i]->x = 1; 96 96 screen_list->screen[i]->y = (i*h) + 1; 97 screen_list->screen[i]->visible = 1; 97 98 if(i != screen_list->count -1) 98 99 { … … 116 117 for(i = 0; i < screen_list->count; i++) 117 118 { 119 screen_list->screen[i]->visible = 0; 118 120 screen_list->screen[i]->x = 1; 119 121 screen_list->screen[i]->y = 1; … … 122 124 w, h); 123 125 } 126 screen_list->screen[pty]->visible = 1; 124 127 } 125 128 … … 135 138 for(i = 0; i < screen_list->count; i++) 136 139 { 140 screen_list->screen[i]->visible = 1; 137 141 screen_list->screen[i]->x = x; 138 142 screen_list->screen[i]->y = y;
Note: See TracChangeset
for help on using the changeset viewer.