diff options
author | 2016-01-04 21:31:56 +1300 | |
---|---|---|
committer | 2016-01-04 21:32:51 +1300 | |
commit | 2dfaf69380d9fce7f454958e7eff003127c92f26 (patch) | |
tree | db9de83377fb5048c9df7985e9d116aa6099a330 /src | |
parent | cc00b13b9259fc957d7f1698db49f283037298af (diff) |
Prevent keypresses from passing through to internal debugger windows while the windows are hidden.
Diffstat (limited to 'src')
-rw-r--r-- | src/osd/modules/debugger/debugint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp index 9cc50230d88..d2a54f0c3ca 100644 --- a/src/osd/modules/debugger/debugint.cpp +++ b/src/osd/modules/debugger/debugint.cpp @@ -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(); |