mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00: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
|
// rjf: focus window if none focused, and if we have a thread to snap to
|
||||||
if(need_refocus)
|
if(need_refocus && (selected_thread != &ctrl_entity_nil || thread != &ctrl_entity_nil))
|
||||||
{
|
{
|
||||||
B32 any_window_is_focused = 0;
|
B32 any_window_is_focused = 0;
|
||||||
for(RD_Window *window = rd_state->first_window; window != 0; window = window->next)
|
for(RD_Window *window = rd_state->first_window; window != 0; window = window->next)
|
||||||
|
|||||||
Reference in New Issue
Block a user