mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 14:44:58 +00:00
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:
parent
3c3871e5e6
commit
319e2a24de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108683
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue