Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out special output __i3 which contains scratchpad #2979

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

grimpy
Copy link
Contributor

@grimpy grimpy commented Feb 27, 2024

Fixes: #2966

Fixes: Alexays#2966

Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
@grimpy
Copy link
Contributor Author

grimpy commented Feb 27, 2024

I'm not 100% sure what's wrong in the clang-tidy workflow, did I tip over the scale of complexity?

if (alloutputs && output["name"].asString() != "__i3") {
return true;
}
if (output["name"].asString() == bar_.output->name) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mhmm we should check !alloutputs here otherwise the logic will be the same as before.

Copy link
Contributor Author

@grimpy grimpy Feb 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only way for it to reach here is, when !allouput == true and when output["name"] == __i3 which will not match bar_.output->name

@Alexays Alexays merged commit e7c7ef6 into Alexays:master Feb 28, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sway/workspaces displays __i3_scratch as a workspace if all-outputs is true
2 participants