diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-28 22:58:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-28 22:58:54 +0000 |
commit | bea4b7fa274c45f1b0cbf7f8e188bc39a87d2199 (patch) | |
tree | 389b4a145b22c5988f2181fb36c68c3fd060680a /lib/libpanel/p_move.c | |
parent | 769b7d83c358eaa4b24d2b701fa6de76d8de075b (diff) |
ncurses-5.2-20010224
Diffstat (limited to 'lib/libpanel/p_move.c')
-rw-r--r-- | lib/libpanel/p_move.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libpanel/p_move.c b/lib/libpanel/p_move.c index 08be50b3875..1e7f49452c1 100644 --- a/lib/libpanel/p_move.c +++ b/lib/libpanel/p_move.c @@ -1,4 +1,4 @@ -/* $OpenBSD: p_move.c,v 1.4 2001/01/22 18:02:09 millert Exp $ */ +/* $OpenBSD: p_move.c,v 1.5 2001/02/28 22:58:53 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998,2000 Free Software Foundation, Inc. * @@ -38,7 +38,7 @@ */ #include "panel.priv.h" -MODULE_ID("$From: p_move.c,v 1.6 2000/12/10 02:20:44 tom Exp $") +MODULE_ID("$From: p_move.c,v 1.7 2001/02/24 23:41:35 tom Exp $") NCURSES_EXPORT(int) move_panel (PANEL *pan, int starty, int startx) @@ -46,8 +46,10 @@ move_panel (PANEL *pan, int starty, int startx) if(!pan) return(ERR); - if (IS_LINKED(pan)) - PANEL_UPDATE(pan,(PANEL*)0, TRUE); + if (IS_LINKED(pan)) { + Touchpan(pan); + PANEL_UPDATE(pan,(PANEL*)0); + } if (mvwin(pan->win,starty,startx)) return(ERR); |