frontend: Add Input Monitoring to permissions dialog

The previous commit switched global hotkeys from requiring Accessibility
to just Input Monitoring permissions. This adds the matching changes to
the permissions dialog, also accounting for the fact that Accessibility
includes Input Monitoring.
This commit is contained in:
gxalpha 2023-09-14 23:51:57 +02:00 • committed by Ryan Foster
commit a562b8bf52
8 changed files with 78 additions and 16 deletions

View file

@ -219,7 +219,7 @@ void OBSBasic::on_actionShowMacPermissions_triggered()
{
#ifdef __APPLE__
OBSPermissions check(this, CheckPermission(kScreenCapture), CheckPermission(kVideoDeviceAccess),
CheckPermission(kAudioDeviceAccess), CheckPermission(kAccessibility));
CheckPermission(kAudioDeviceAccess), CheckPermission(kInputMonitoring));
check.exec();
#endif
}