Fix 'cursor-disappearce-after-switching-screen-from-X' bug

This commit is contained in:
Andrey A. Chernov 1994-10-03 01:22:46 +00:00
parent d32198f15b
commit 38ea5c3d90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3324
3 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.62 1994/10/02 14:08:57 ache Exp $
* $Id: syscons.c,v 1.63 1994/10/02 17:41:42 phk Exp $
*/
#include "sc.h"
@ -1458,7 +1458,7 @@ exchange_scr(void)
old_scp->crt_base = old_scp->scr_buf;
move_crsr(old_scp, old_scp->xpos, old_scp->ypos);
cur_console = new_scp;
if (old_scp->mode != new_scp->mode)
if (old_scp->mode != new_scp->mode || (old_scp->status & UNKNOWN_MODE))
set_mode(new_scp);
new_scp->crt_base = Crtat;
move_crsr(new_scp, new_scp->xpos, new_scp->ypos);

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.62 1994/10/02 14:08:57 ache Exp $
* $Id: syscons.c,v 1.63 1994/10/02 17:41:42 phk Exp $
*/
#include "sc.h"
@ -1458,7 +1458,7 @@ exchange_scr(void)
old_scp->crt_base = old_scp->scr_buf;
move_crsr(old_scp, old_scp->xpos, old_scp->ypos);
cur_console = new_scp;
if (old_scp->mode != new_scp->mode)
if (old_scp->mode != new_scp->mode || (old_scp->status & UNKNOWN_MODE))
set_mode(new_scp);
new_scp->crt_base = Crtat;
move_crsr(new_scp, new_scp->xpos, new_scp->ypos);

View file

@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: syscons.c,v 1.62 1994/10/02 14:08:57 ache Exp $
* $Id: syscons.c,v 1.63 1994/10/02 17:41:42 phk Exp $
*/
#include "sc.h"
@ -1458,7 +1458,7 @@ exchange_scr(void)
old_scp->crt_base = old_scp->scr_buf;
move_crsr(old_scp, old_scp->xpos, old_scp->ypos);
cur_console = new_scp;
if (old_scp->mode != new_scp->mode)
if (old_scp->mode != new_scp->mode || (old_scp->status & UNKNOWN_MODE))
set_mode(new_scp);
new_scp->crt_base = Crtat;
move_crsr(new_scp, new_scp->xpos, new_scp->ypos);