mac-capture: Get cursor visible setting on create
When display capture is created, the hide_cursor variable is not initialized, so just initialize it to the setting in the create function.
This commit is contained in:
parent
a892fa9e33
commit
35a4acede0
@ -261,6 +261,7 @@ static void *display_capture_create(obs_data_t *settings,
|
||||
struct display_capture *dc = bzalloc(sizeof(struct display_capture));
|
||||
|
||||
dc->source = source;
|
||||
dc->hide_cursor = !obs_data_get_bool(settings, "show_cursor");
|
||||
|
||||
dc->effect = obs_get_default_rect_effect();
|
||||
if (!dc->effect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user