src/osd/windows/window.c
| r786 | r787 | |
| 512 | 512 | // if we should hide the mouse, then do it |
| 513 | 513 | // rules are: |
| 514 | 514 | // 1. we must have focus before hiding the cursor |
| 515 | | // 2. we always hide the cursor in full screen mode |
| 515 | // 2. we also hide the cursor in full screen mode and when the window doesn't have a menu |
| 516 | 516 | // 3. we also hide the cursor in windowed mode if we're not paused and |
| 517 | 517 | // the input system requests it |
| 518 | | if (winwindow_has_focus() && (!video_config.windowed || (!mame_is_paused(Machine) && wininput_should_hide_mouse()))) |
| 518 | if (winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!mame_is_paused(Machine) && wininput_should_hide_mouse()))) |
| 519 | 519 | { |
| 520 | 520 | win_window_info *window = win_window_list; |
| 521 | 521 | RECT bounds; |