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
@ -119,6 +119,7 @@ command(cmd)
|
|||||||
goto done;
|
goto done;
|
||||||
alarm(0);
|
alarm(0);
|
||||||
(*curcmd->c_close)(wnd);
|
(*curcmd->c_close)(wnd);
|
||||||
|
curcmd->c_flags &= ~CF_INIT;
|
||||||
wnd = (*p->c_open)();
|
wnd = (*p->c_open)();
|
||||||
if (wnd == 0) {
|
if (wnd == 0) {
|
||||||
error("Couldn't open new display");
|
error("Couldn't open new display");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user