Prevent keypresses from passing through to internal debugger windows while the windows are hidden.

This commit is contained in:
mahlemiut 2016-01-04 21:31:56 +13:00
parent cc00b13b92
commit 2dfaf69380

View File

@ -1657,7 +1657,7 @@ static void handle_keys(running_machine &machine)
static void handle_editor(running_machine &machine)
{
if (focus_view->editor.active)
if (focus_view->editor.active && dview_is_state(focus_view, VIEW_STATE_VISIBLE))
{
ui_event event;
@ -1835,6 +1835,7 @@ void debug_internal::wait_for_debugger(device_t &device, bool firststop)
}
followers_set_cpu(&device);
ui_input_reset(device.machine());
debug_show_all();
//ui_update_and_render(device.machine(), device.machine().render().ui_container()());
update_views();