- 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.
This commit is contained in:
parent
a2436978b9
commit
c8b87d1f50
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user