Changeset 03ca005 for global.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:39 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
61c1f19
Parents:
b3b1b05
git-author:
David Benjamin <davidben@mit.edu> (08/01/10 13:50:19)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
Message:
Create a new owl_popwin every time instead of rewiring the old one

Constantly rewiring things is weird.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r5b68c05 r03ca005  
    4848  g->rightshift=0;
    4949
     50  g->pw = NULL;
    5051  g->tw = NULL;
    5152
     
    126127  /* Create the widgets */
    127128  owl_mainwin_init(&(g->mw), g->mainpanel.recwin);
    128   owl_popwin_init(&(g->pw));
    129129  owl_msgwin_init(&(g->msgwin), g->mainpanel.msgwin);
    130130  owl_sepbar_init(g->mainpanel.sepwin);
     
    255255
    256256owl_popwin *owl_global_get_popwin(owl_global *g) {
    257   return(&(g->pw));
     257  return g->pw;
     258}
     259
     260void owl_global_set_popwin(owl_global *g, owl_popwin *pw) {
     261  g->pw = pw;
    258262}
    259263
Note: See TracChangeset for help on using the changeset viewer.