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

ipc-rules: change output from name to ID. #2028

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

lcolitti
Copy link
Contributor

This is more useful because the other IPCs take IDs and not names.

For backwards compatibility, also include the output name in an "output-name" member.

@ammen99
Copy link
Member

ammen99 commented Nov 26, 2023

The idea is good, but why not just add a new output-id field, this way this is not a breaking change?

This is useful because the other IPCs take IDs and not names.
Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

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

Thanks!

@lcolitti
Copy link
Contributor Author

Done. Though technically I anyone using this will have to change their code already, since until a couple of weeks ago list_views was in the stipc plugin and now it's in ipc-rules.

@ammen99
Copy link
Member

ammen99 commented Nov 26, 2023

stipc is for tests only, I do not count it in the public API :)

@ammen99 ammen99 merged commit 8c535ba into WayfireWM:master Nov 26, 2023
4 checks passed
ammen99 pushed a commit that referenced this pull request Mar 13, 2024
This is useful because the other IPCs take IDs and not names.
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.

2 participants