Skip to content

Conversation

@PaideiaDilemma
Copy link
Contributor

I think animated variables should be unique pointers.

When they were added to HU, WP's couldn't point to UP's so we would have had to use raw pointers.
But now that you can construct a WP from a UP, I think it does make sense.

Breaks ABI so feel free to defer merging in case you want this.

@PaideiaDilemma
Copy link
Contributor Author

We could also change some of the member naming in this PR or in a PR intended for the same breaking release, since that would also break ABI + API. Like m_vAnimatedVariables -> m_animatedVariables. Let me know.

@vaxerski
Copy link
Member

vaxerski commented Nov 27, 2025

this already breaks API which I dont like. Can't we have create2 and so on?

@PaideiaDilemma
Copy link
Contributor Author

Yep, done.
This way it doesn't even break the ABI right? I was able to run it with my currently installed version of hyprlock.

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.

abi is clean now yes

@vaxerski vaxerski merged commit a64517c into hyprwm:main Nov 28, 2025
4 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.

2 participants