diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-17 13:42:21 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-17 13:42:21 +0000 |
commit | 10294b81ab069ab94705442e6fc892cb69e5ff6d (patch) | |
tree | 59fc55d7ad66cd54dac402fac572e91c531f804c /src/osd | |
parent | 9ce1175a0467448c245787c2c1a8975d8a654a89 (diff) |
Made UI mouse cursor optional (default is off for now), in games with clickable artwork cursor is visible, application is not taking mouse control anymore (no whatsnew)
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/windows/window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c index baa4d1aeb45..522f6b8207f 100644 --- a/src/osd/windows/window.c +++ b/src/osd/windows/window.c @@ -607,8 +607,7 @@ void winwindow_update_cursor_state(running_machine &machine) // 2. we also hide the cursor in full screen mode and when the window doesn't have a menu // 3. we also hide the cursor in windowed mode if we're not paused and // the input system requests it - //if (winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!machine.paused() && wininput_should_hide_mouse()))) - if (winwindow_has_focus()) + if (winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!machine.paused() && wininput_should_hide_mouse()))) { win_window_info *window = win_window_list; RECT bounds; |