Previous 15994 Revisions Next

r787 Sunday 5th August, 2007 at 15:43:16 UTC by Nathan Woods
[Windows] Fixed cursor showing when in full screen and menu bar active
[src/osd/windows]window.c

src/osd/windows/window.c
r786r787
512512   // if we should hide the mouse, then do it
513513   // rules are:
514514   //   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
516516   //   3. we also hide the cursor in windowed mode if we're not paused and
517517   //      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())))
519519   {
520520      win_window_info *window = win_window_list;
521521      RECT bounds;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team