- Timestamp:
- Jun 3, 2010, 1:29:56 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- d7c1dbe
- Parents:
- e8128c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
window.c
rf70a7a3 raab7af1 229 229 resizeterm(w->nlines, w->ncols); 230 230 w->win = stdscr; 231 } else if (w->pan) {232 w->win = newwin(w->nlines, w->ncols, w->begin_y, w->begin_x);233 replace_panel(w->pan, w->win);234 231 } else { 232 /* Explicitly disallow realizing an unlinked non-root */ 235 233 if (w->parent == NULL || w->parent->win == NULL) 236 234 return; 237 w->win = derwin(w->parent->win, w->nlines, w->ncols, w->begin_y, w->begin_x); 235 if (w->pan) { 236 w->win = newwin(w->nlines, w->ncols, w->begin_y, w->begin_x); 237 replace_panel(w->pan, w->win); 238 } else { 239 w->win = derwin(w->parent->win, w->nlines, w->ncols, w->begin_y, w->begin_x); 240 } 238 241 } 239 242 }
Note: See TracChangeset
for help on using the changeset viewer.