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

Expose pseudotiled state in hyprctl clients and add an optional window argument for the pseudo dispatcher #6583

Merged
merged 3 commits into from
Jun 19, 2024

Conversation

Przegryw321
Copy link
Contributor

Describe your PR, what does it fix/add?

As I mentioned in #6550 I wanted to be able to get the information about the pseudotiled state of a window in hyprctl clients and the ability to provide a window as an optional argument for the pseudo dispatcher. This PR does exactly that. This does not break any compatibility as the pseudo dispatcher can still use the active window if no argument or the word active is passed. I based the code on the toggleActiveFloatingCore function.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

No.

Is it ready for merging, or does it need work?

I think it's good.

@Przegryw321 Przegryw321 changed the title Pseudocontrol Expose pseudotiled state in hyprctl clients and add an optional window argument for the pseudo dispatcher Jun 18, 2024
vaxerski
vaxerski previously approved these changes Jun 18, 2024
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

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

lgtm, just needs a wiki mr for the new dispatcher arg

@Przegryw321
Copy link
Contributor Author

done

@vaxerski vaxerski merged commit d6de248 into hyprwm:main Jun 19, 2024
10 of 11 checks passed
@Przegryw321 Przegryw321 deleted the pseudocontrol branch June 19, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants