-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Screen recording permission requested even when window animation disabled #2378
Labels
bug
Something isn't working
Comments
I'm guessing that at this point: } else if (token_equals(command, COMMAND_CONFIG_ANIMATION_DURATION)) {
struct token_value value = token_to_value(get_token(&message));
if (value.type == TOKEN_TYPE_INVALID) {
fprintf(rsp, "%f\n", g_window_manager.window_animation_duration);
} else if (value.type == TOKEN_TYPE_FLOAT) {
if (CGPreflightScreenCaptureAccess()) { There should be an additional |
cpick
pushed a commit
to cpick/yabai
that referenced
this issue
Aug 4, 2024
That seems to do the trick, opened #2379 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Running
yabai
with the example version of yabairc prompts for "Screen & System Audio Recording" permission. When that's denied it prints the warning:The README.md says:
And the yabairc (linked above) includes:
The man page says:
So I would have thought that window animation was disabled (by being set to 0.0) and that that would case the permission to not be requested?
The text was updated successfully, but these errors were encountered: