From c8b87d1f5096908f0280449f151ceeffa20ef129 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 19 Jun 2001 04:42:35 +0000 Subject: [PATCH] - fixed bug that caused mouse events to get through to bochs, even when mouse was disabled. It didn't warp the cursor so it was mostly just strange, not dangerous. --- bochs/iodev/keyboard.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/iodev/keyboard.cc b/bochs/iodev/keyboard.cc index c2afe707b..2b96747f9 100644 --- a/bochs/iodev/keyboard.cc +++ b/bochs/iodev/keyboard.cc @@ -1327,7 +1327,7 @@ bx_keyb_c::mouse_motion(int delta_x, int delta_y, unsigned button_state) // If mouse events are disabled on the GUI headerbar, don't // generate any mouse data - if (bx_options.mouse_enabled==0) + if (bx_options.mouse_enabled->get () == 0) return;