Synchronize with sys/i386/isa/syscons.c revision 1.201.

This commit is contained in:
KATO Takenori 1997-02-13 18:43:50 +00:00
parent 8ea8b7549d
commit def9b7665d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22662

View File

@ -1032,7 +1032,7 @@ scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
/* process button presses */
if (cur_console->mouse_buttons != mouse->u.data.buttons) {
cur_console->mouse_buttons = mouse->u.data.buttons;
if (!(scp->status & UNKNOWN_MODE)) {
if (!(cur_console->status & UNKNOWN_MODE)) {
if (cur_console->mouse_buttons & LEFT_BUTTON)
mouse_cut_start(cur_console);
else