src/osd/windows/window.c
| r13003 | r13004 | |
| 601 | 601 | |
| 602 | 602 | assert(GetCurrentThreadId() == main_threadid); |
| 603 | 603 | |
| 604 | | // if we should hide the mouse, then do it |
| 605 | | // rules are: |
| 606 | | // 1. we must have focus before hiding the cursor |
| 607 | | // 2. we also hide the cursor in full screen mode and when the window doesn't have a menu |
| 608 | | // 3. we also hide the cursor in windowed mode if we're not paused and |
| 609 | | // the input system requests it |
| 610 | | if (winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!machine.paused() && wininput_should_hide_mouse()))) |
| 604 | // Hide the mouse, if |
| 605 | // We have focus AND -nowindow AND -nomenu AND -nomouse |
| 606 | // |
| 607 | if (winwindow_has_focus() && (!video_config.windowed && !win_has_menu(win_window_list)) && !machine.options().mouse()) |
| 611 | 608 | { |
| 612 | 609 | win_window_info *window = win_window_list; |
| 613 | 610 | RECT bounds; |