Changeset 678a505c


Ignore:
Timestamp:
Jun 2, 2010, 9:32:42 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:
f91767d
Parents:
99ce51c
Message:
Move the attribute setting between unrealize/realize

Doesn't do anything, but it makes the logic clearer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • window.c

    ra5a9572 r678a505c  
    450450  }
    451451
     452  /* window is shown, we must try to have a window at the end */
     453  if (w->shown) {
     454    /* resizing in ncurses is hard: give up do a unrealize/realize */
     455    _owl_window_unrealize(w);
     456  }
    452457  w->begin_y = begin_y;
    453458  w->begin_x = begin_x;
    454459  w->nlines = nlines;
    455460  w->ncols = ncols;
    456   /* window is shown, we must try to have a window at the end */
    457   if (w->shown) {
    458     /* resizing in ncurses is hard: give up do a unrealize/realize */
    459     _owl_window_unrealize(w);
    460   }
    461461  g_signal_emit(w, window_signals[RESIZED], 0);
    462462  if (w->shown) {
Note: See TracChangeset for help on using the changeset viewer.