Previous 15994 Revisions Next

r9530 Saturday 6th November, 2010 at 15:51:29 UTC by Tafoid
Resubmit: [NEWUI] Menu bar toggling is now detected only if ui is active (i.e. after you press ScrlLock), like other ui actions like Pause etc. This fixes conflicts with ESC key of the emulated machines.
[src/osd/windows]video.c

src/osd/windows/video.c
r9529r9530
373373      winwindow_toggle_full_screen();
374374
375375#ifdef MESS
376   // check for toggling menu bar
377   if (ui_input_pressed(machine, IPT_OSD_2))
376   // check for toggling menu bar (only if ui is active)
377   if (ui_input_pressed(machine, IPT_OSD_2) && machine->ui_active)
378378      win_toggle_menubar();
379379#endif
380380}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team