diff options
-rw-r--r-- | i386/i386at/kd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index b8e9487..433d0f1 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -398,8 +398,8 @@ char c; #endif /* DEBUG */ -extern int mouse_in_use; -int old_kb_mode; +extern boolean_t mouse_in_use; +int old_kb_mode; void cnpollc(on) @@ -735,7 +735,7 @@ int vec; unsigned char scancode; int char_idx; boolean_t up = FALSE; /* key-up event */ - extern int mouse_in_use; + if (kd_pollc) return; /* kdb polling kbd */ |