提交 35a4aced 编写于 作者: J jp9000

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.
上级 a892fa9e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册