X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_move.c;h=d7dbd2eafc3f04e66db9168a44a8dce12a16ad40;hp=d34b4fb84e56b3434fc5dbe8a7120dd396dccdd0;hb=refs%2Ftags%2Fv5.3;hpb=c633e5103a29a38532cf1925257b91cea33fd090 diff --git a/panel/p_move.c b/panel/p_move.c index d34b4fb8..d7dbd2ea 100644 --- a/panel/p_move.c +++ b/panel/p_move.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998,2000 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -36,16 +36,18 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_move.c,v 1.5 1999/11/25 13:49:26 juergen Exp $") +MODULE_ID("$Id: p_move.c,v 1.7 2001/02/24 23:41:35 tom Exp $") -int -move_panel(PANEL *pan, int starty, int startx) +NCURSES_EXPORT(int) +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);