| 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 |
| r9529 | r9530 | |
|---|---|---|
| 373 | 373 | winwindow_toggle_full_screen(); |
| 374 | 374 | |
| 375 | 375 | #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) | |
| 378 | 378 | win_toggle_menubar(); |
| 379 | 379 | #endif |
| 380 | 380 | } |
| Previous | 15994 Revisions | Next |