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

Refactor SSD: Move everything button related to src/ssd/ssd button.c #1047

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Consolatis
Copy link
Member

@Consolatis Consolatis commented Aug 24, 2023

Follow-up from

No functional changes intended , will rebase once #1045 is merged.

Edit:
This PR also adds a new node descriptor to the rounded button root tree node which has pointers for the rounded corner buffer and a struct ssd_button. That allows to decouple the actual buttons (e.g. menu or close) from the rounded corners which in turn allows for a future implementation of titleLayout.


struct ssd_rounded {
struct ssd_button *button;
struct wlr_scene_node *node;
Copy link
Member Author

Choose a reason for hiding this comment

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

s/node/rounded_buffer_node/

@ludg1e
Copy link
Contributor

ludg1e commented Dec 10, 2023

Hello, may I ask, what is left here for this to be ready to be merged?
May I guess, the separation in parts of the file ssd_part.c?

I'd be willing to work (and try to finish) this PR if I'd know what remains left to be done

Thank you and have a nice day

@Consolatis
Copy link
Member Author

Consolatis commented Dec 10, 2023

The main issue here is that we changed quite a lot in this area and this now needs to be rebased. It might be easier to start fresh using this PR as a mere template (e.g. which functions to move). There are further changes intended so we may want to wait a bit with the refactor to reduce further conflicts.

@ludg1e
Copy link
Contributor

ludg1e commented Dec 17, 2023

Related: #1334, #1296
Other: #1018

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.

None yet

2 participants