- Timestamp:
- May 29, 2010, 1:14:57 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 1383b58
- Parents:
- 7c8811c
- git-author:
- David Benjamin <davidben@mit.edu> (05/27/10 02:49:57)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/29/10 13:14:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r449af72 r68f63a2 511 511 512 512 void owl_global_relayout(owl_global *g) { 513 owl_popwin *pw;514 owl_viewwin *vw;515 516 513 if (!g->relayoutpending) return; 517 514 g->relayoutpending = 0; … … 528 525 * screen */ 529 526 owl_function_calculate_topmsg(OWL_DIRECTION_NONE); 530 531 /* recreate the popwin */532 pw = owl_global_get_popwin(g);533 if (owl_popwin_is_active(pw)) {534 /*535 * This is somewhat hacky; we probably want a proper windowing layer. We536 * destroy the popwin and recreate it. Then the viewwin is redirected to537 * the new window.538 */539 vw = owl_global_get_viewwin(g);540 owl_popwin_close(pw);541 owl_popwin_up(pw);542 owl_viewwin_set_curswin(vw, owl_popwin_get_curswin(pw),543 owl_popwin_get_lines(pw), owl_popwin_get_cols(pw));544 owl_viewwin_redisplay(vw);545 }546 527 547 528 /* refresh stuff */
Note: See TracChangeset
for help on using the changeset viewer.