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

Split platform::unix into platform::x11 and platform::wayland #2421

Merged
merged 6 commits into from
Sep 1, 2022

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Aug 11, 2022

There were basically no overlap between the platform-specific extensions in these, so it made little sense to keep them in the same file!

Will gladly rename the functions as well, e.g. wayland_set_csd_theme -> set_csd_theme?

Blocked-ish on #2420

@notgull
Copy link
Member

notgull commented Aug 11, 2022

I agree with this decision. Wayland and X11 are very different, so it makes sense to keep them in their own separate modules.

src/platform/wayland.rs Outdated Show resolved Hide resolved
src/platform/wayland.rs Outdated Show resolved Hide resolved
src/platform/x11.rs Outdated Show resolved Hide resolved
Copy link
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

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

CI.

@kchibisov kchibisov merged commit 1ca8b65 into rust-windowing:master Sep 1, 2022
@madsmtm madsmtm deleted the split-platform-unix branch September 1, 2022 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DS - wayland DS - x11 S - api Design and usability S - maintenance Repaying technical debt
Development

Successfully merging this pull request may close these issues.

3 participants