- Timestamp:
- Apr 28, 2010, 2:27:58 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- f92acd7
- Parents:
- 263320f
- git-author:
- David Benjamin <davidben@mit.edu> (04/28/10 13:39:29)
- git-committer:
- David Benjamin <davidben@mit.edu> (04/28/10 14:27:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r263320f rf7cf6c2 57 57 g->curmsg_vert_offset=0; 58 58 g->resizepending=0; 59 g->relayoutpending = 0; 59 60 g->direction=OWL_DIRECTION_DOWNWARDS; 60 61 g->zaway=0; … … 394 395 } 395 396 397 void owl_global_set_relayout_pending(owl_global *g) { 398 g->relayoutpending = 1; 399 } 400 396 401 const char *owl_global_get_homedir(const owl_global *g) { 397 402 if (g->homedir) return(g->homedir); … … 504 509 505 510 owl_function_debugmsg("New size is %i lines, %i cols.", g->lines, g->cols); 506 owl_global_ relayout(g);511 owl_global_set_relayout_pending(g); 507 512 } 508 513 509 514 void owl_global_relayout(owl_global *g) { 515 if (!g->relayoutpending) return; 516 g->relayoutpending = 0; 517 510 518 owl_function_debugmsg("Relayouting..."); 511 519
Note: See TracChangeset
for help on using the changeset viewer.