mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
mac-capture: Fix show hidden windows option
`screen_capture_build_content_list` or similar calls uses updated `sc->show_hidden_windows` or similar flags, but these are not set before calling these functions.
This commit is contained in:
parent
69e8b73684
commit
36abf04afa
|
@ -904,16 +904,15 @@ static bool content_settings_changed(void *data, obs_properties_t *props, obs_pr
|
|||
}
|
||||
}
|
||||
|
||||
sc->show_empty_names = obs_data_get_bool(settings, "show_empty_names");
|
||||
sc->show_hidden_windows = obs_data_get_bool(settings, "show_hidden_windows");
|
||||
sc->hide_obs = obs_data_get_bool(settings, "hide_obs");
|
||||
|
||||
screen_capture_build_content_list(sc, capture_type_id == ScreenCaptureDisplayStream);
|
||||
build_display_list(sc, props);
|
||||
build_window_list(sc, props);
|
||||
build_application_list(sc, props);
|
||||
|
||||
sc->show_empty_names = obs_data_get_bool(settings, "show_empty_names");
|
||||
sc->show_hidden_windows = obs_data_get_bool(settings, "show_hidden_windows");
|
||||
|
||||
sc->hide_obs = obs_data_get_bool(settings, "hide_obs");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue