First deactivate VirtualTerminal, then notify kernel that we are ready to switch
This commit is contained in:
parent
9efada5bb6
commit
2c5337074f
1 changed files with 1 additions and 1 deletions
|
@ -179,8 +179,8 @@ bool VirtualTerminal::createSignalHandler()
|
|||
}
|
||||
switch (sigInfo.ssi_signo) {
|
||||
case RELEASE_SIGNAL:
|
||||
ioctl(m_vt, VT_RELDISP, 1);
|
||||
setActive(false);
|
||||
ioctl(m_vt, VT_RELDISP, 1);
|
||||
break;
|
||||
case ACQUISITION_SIGNAL:
|
||||
ioctl(m_vt, VT_RELDISP, VT_ACKACQ);
|
||||
|
|
Loading…
Reference in a new issue