mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-24 12:44:59 -07:00
adjust auto-focus-on-stop rules; only do it given stops caused by threads
This commit is contained in:
@@ -16528,8 +16528,8 @@ rd_frame(void)
|
||||
}
|
||||
}
|
||||
|
||||
// rjf: focus window if none focused
|
||||
if(need_refocus)
|
||||
// rjf: focus window if none focused, and if we have a thread to snap to
|
||||
if(need_refocus && (selected_thread != &ctrl_entity_nil || thread != &ctrl_entity_nil))
|
||||
{
|
||||
B32 any_window_is_focused = 0;
|
||||
for(RD_Window *window = rd_state->first_window; window != 0; window = window->next)
|
||||
|
||||
Reference in New Issue
Block a user