When we close a display, mark it as not-initialized so that we will

properly open it again next time.

Submitted by:	Trent Nelson <trent@arpa.com>
This commit is contained in:
Poul-Henning Kamp 2003-01-04 21:58:25 +00:00
parent 3c3871e5e6
commit 319e2a24de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108683

View File

@ -119,6 +119,7 @@ command(cmd)
goto done;
alarm(0);
(*curcmd->c_close)(wnd);
curcmd->c_flags &= ~CF_INIT;
wnd = (*p->c_open)();
if (wnd == 0) {
error("Couldn't open new display");