- Timestamp:
- Jun 2, 2010, 8:53:27 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3e0147f
- Parents:
- 40d1eef
- git-author:
- David Benjamin <davidben@mit.edu> (06/02/10 20:50:16)
- git-committer:
- David Benjamin <davidben@mit.edu> (06/02/10 20:53:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r40d1eef rfa65671 59 59 g->curmsg_vert_offset=0; 60 60 g->resizepending=0; 61 g->relayoutpending = 0;62 61 g->direction=OWL_DIRECTION_DOWNWARDS; 63 62 g->zaway=0; … … 374 373 } 375 374 376 void owl_global_set_relayout_pending(owl_global *g) {377 g->relayoutpending = 1;378 }379 380 375 const char *owl_global_get_homedir(const owl_global *g) { 381 376 if (g->homedir) return(g->homedir); … … 485 480 } 486 481 487 void owl_global_relayout(owl_global *g) {488 if (!g->relayoutpending) return;489 g->relayoutpending = 0;490 491 owl_function_debugmsg("Relayouting...");492 493 /* in case any styles rely on the current width */494 owl_messagelist_invalidate_formats(owl_global_get_msglist(g));495 496 /* recalculate the topmsg to make sure the current message is on497 * screen */498 owl_function_calculate_topmsg(OWL_DIRECTION_NONE);499 500 /* refresh stuff */501 owl_mainwin_redisplay(&(g->mw));502 sepbar_dirty();503 504 owl_function_full_redisplay();505 }506 507 482 /* debug */ 508 483
Note: See TracChangeset
for help on using the changeset viewer.