Changeset 4eee948


Ignore:
Timestamp:
Jun 12, 2010, 3:29:01 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
438409f
Parents:
358eeae
git-author:
David Benjamin <davidben@mit.edu> (06/04/10 16:52:22)
git-committer:
David Benjamin <davidben@mit.edu> (06/12/10 15:29:01)
Message:
Eugh. Create the sepwin before the recwin

The sepwin depends on a value computed by the recwin's draw handler.
This is kinda nasty...
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/owl-window.txt

    r358eeae r4eee948  
    175175  everywhere; the signals can automatically disconnect in the right
    176176  contexts if we do.
     177
     178- The sepbar depends on a value computed while the mainwin is drawn,
     179  so we currently ensure the windows are created in the right order
     180  for the repaints to occur correctly. This is rather poor and should
     181  be refactored later.
  • mainpanel.c

    r853f397 r4eee948  
    55  /* Create windows */
    66  mp->panel = owl_window_new(NULL);
     7  /* HACK for now: the sepwin must be drawn /after/ the recwin for
     8   * lastdisplayed to work */
     9  mp->sepwin = owl_window_new(mp->panel);
    710  mp->recwin = owl_window_new(mp->panel);
    8   mp->sepwin = owl_window_new(mp->panel);
    911  mp->msgwin = owl_window_new(mp->panel);
    1012  mp->typwin = owl_window_new(mp->panel);
Note: See TracChangeset for help on using the changeset viewer.