Changeset b928b3a for owl.c


Ignore:
Timestamp:
Mar 2, 2010, 9:14:44 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8099357
Parents:
8ae2de9
git-author:
David Benjamin <davidben@mit.edu> (10/30/09 14:26:12)
git-committer:
David Benjamin <davidben@mit.edu> (03/02/10 21:14:44)
Message:
Remove popwin special-casing

Finally, we can have our cake! Now that libpanel takes care of stacking,
we can get rid of a lot of the painting logic that has to think about
and special-case window order.

Here's the first of the lobotomies.

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r8ae2de9 rb928b3a  
    303303    owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    304304    sepbar(NULL);
    305     if (owl_popwin_is_active(owl_global_get_popwin(&g))) {
    306       owl_popwin_refresh(owl_global_get_popwin(&g));
    307       /* TODO: this is a broken kludge */
    308       if (owl_global_get_viewwin(&g)) {
    309         owl_viewwin_redisplay(owl_global_get_viewwin(&g), 0);
    310       }
    311     }
    312305    owl_global_set_needrefresh(&g);
    313306  }
     
    641634    typwin=owl_global_get_curs_typwin(&g);
    642635
    643     /* if a popwin just came up, refresh it */
    644     pw=owl_global_get_popwin(&g);
    645     if (owl_popwin_is_active(pw) && owl_popwin_needs_first_refresh(pw)) {
    646       owl_popwin_refresh(pw);
    647       owl_popwin_no_needs_first_refresh(pw);
    648       owl_global_set_needrefresh(&g);
    649       /* TODO: this is a broken kludge */
    650       if (owl_global_get_viewwin(&g)) {
    651         owl_viewwin_redisplay(owl_global_get_viewwin(&g), 0);
    652       }
    653     }
    654 
    655636    /* update the terminal if we need to */
    656637    if (owl_global_is_needrefresh(&g)) {
Note: See TracChangeset for help on using the changeset viewer.