File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ const KeyCodeMap kKeyCodesMap[] = {
260
260
request_accessibility_permission ();
261
261
}
262
262
BOOST_LOG (info) << " Received " << (is_keyboard_event ? " keyboard" : " mouse" ) << " event but "
263
- << default_accessibility_log_msg ();
263
+ << default_accessibility_log_msg ();
264
264
}
265
265
}
266
266
Original file line number Diff line number Diff line change 521
521
522
522
bool
523
523
request_accessibility_permission () {
524
- NSDictionary * options = @{static_cast <id > (kAXTrustedCheckOptionPrompt ): @YES };
525
- return !AXIsProcessTrustedWithOptions (static_cast <CFDictionaryRef > (options));
524
+ NSDictionary * options = @{static_cast <id >(kAXTrustedCheckOptionPrompt ): @YES };
525
+ return !AXIsProcessTrustedWithOptions (static_cast <CFDictionaryRef >(options));
526
526
}
527
527
528
528
bool
529
529
has_accessibility_permission () {
530
- NSDictionary * options = @{static_cast <id > (kAXTrustedCheckOptionPrompt ): @NO };
530
+ NSDictionary * options = @{static_cast <id >(kAXTrustedCheckOptionPrompt ): @NO };
531
531
// We use kAXTrustedCheckOptionPrompt == NO here,
532
532
// instead of using XIsProcessTrusted(),
533
533
// because this will update the accessibility list with sunshine current path
534
- return AXIsProcessTrustedWithOptions (static_cast <CFDictionaryRef > (options));
534
+ return AXIsProcessTrustedWithOptions (static_cast <CFDictionaryRef >(options));
535
535
}
536
536
537
537
} // namespace platf
You can’t perform that action at this time.
0 commit comments