summaryrefslogtreecommitdiff
path: root/lib/libpanel/p_move.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpanel/p_move.c')
-rw-r--r--lib/libpanel/p_move.c10
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);