- Timestamp:
- Jun 3, 2010, 6:24:13 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 6e90da8
- Parents:
- 853f397
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
window.c
r8f9a044 r840032d 475 475 void owl_window_set_position(owl_window *w, int nlines, int ncols, int begin_y, int begin_x) 476 476 { 477 int resized; 477 478 /* can't move the screen */ 478 479 if (w->is_screen) { … … 484 485 return; 485 486 } 487 resized = w->nlines != nlines || w->ncols != ncols; 486 488 487 489 _owl_window_unrealize(w); … … 490 492 w->nlines = nlines; 491 493 w->ncols = ncols; 492 g_signal_emit(w, window_signals[RESIZED], 0); 494 if (resized) 495 g_signal_emit(w, window_signals[RESIZED], 0); 493 496 if (w->shown) { 494 497 /* ncurses is screwy: give up and recreate windows at the right place */
Note: See TracChangeset
for help on using the changeset viewer.