Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Clear any cached __LEAVEOK flag in __virtscr w...
details: https://anonhg.NetBSD.org/src/rev/ff800deacf1c
branches: trunk
changeset: 486318:ff800deacf1c
user: mycroft <mycroft%NetBSD.org@localhost>
date: Thu May 18 20:37:42 2000 +0000
description:
Clear any cached __LEAVEOK flag in __virtscr when refreshing another window.
diffstat:
lib/libcurses/refresh.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 62654bca133f -r ff800deacf1c lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c Thu May 18 19:58:30 2000 +0000
+++ b/lib/libcurses/refresh.c Thu May 18 20:37:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.29 2000/05/07 21:22:43 jdc Exp $ */
+/* $NetBSD: refresh.c,v 1.30 2000/05/18 20:37:42 mycroft Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94";
#else
-__RCSID("$NetBSD: refresh.c,v 1.29 2000/05/07 21:22:43 jdc Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.30 2000/05/18 20:37:42 mycroft Exp $");
#endif
#endif /* not lint */
@@ -94,6 +94,7 @@
/* Copy the window flags from "win" to "__virtscr" */
if (!(win->flags & __FULLWIN) && (win->flags & __CLEAROK))
win->flags &= ~__CLEAROK;
+ __virtscr->flags &= ~__LEAVEOK;
__virtscr->flags |= win->flags;
if (win->flags & __CLEAROK)
win->flags &= ~__CLEAROK;
Home |
Main Index |
Thread Index |
Old Index