mac-capture: update owner_pid in `update_window`

master
David Bieber 2020-04-07 13:30:53 -04:00
parent 4718e5ecf5
commit 46979536a1
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ void update_window(cocoa_window_t cw, obs_data_t *settings)
[cw->window_name retain]; [cw->window_name retain];
pthread_mutex_unlock(&cw->name_lock); pthread_mutex_unlock(&cw->name_lock);
cw->owner_pid = obs_data_get_int(settings, "owner_pid");
cw->window_id = obs_data_get_int(settings, "window"); cw->window_id = obs_data_get_int(settings, "window");
} }