mac-capture: Use window id to identify windows on MacOS
Use a window's window id in init_window in the mac window capture plugin.master
parent
47058d9b69
commit
239cad00e4
|
@ -76,6 +76,7 @@ void init_window(cocoa_window_t cw, obs_data_t *settings)
|
|||
|
||||
cw->owner_name = @(obs_data_get_string(settings, "owner_name"));
|
||||
cw->window_name = @(obs_data_get_string(settings, "window_name"));
|
||||
cw->window_id = obs_data_get_int(settings, "window");
|
||||
[cw->owner_name retain];
|
||||
[cw->window_name retain];
|
||||
find_window(cw, settings, true);
|
||||
|
|
Loading…
Reference in New Issue