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

Unify with_app_id and with_class methods #2250

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

kchibisov
Copy link
Member

Both APIs are used to set application name. This commit unifies the API
between Wayland and X11, so downstream applications can remove platform
specific code here.

Fixes #1739.

cc @chrisduerr

@kchibisov kchibisov requested a review from maroider April 9, 2022 21:57
Copy link
Contributor

@chrisduerr chrisduerr left a comment

Choose a reason for hiding this comment

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

Other than the minor text refinement, this looks good to me.

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

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

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

Otherwise approve

CHANGELOG.md Outdated Show resolved Hide resolved
@kchibisov kchibisov requested a review from madsmtm April 17, 2022 17:56
src/platform/unix.rs Outdated Show resolved Hide resolved
Both APIs are used to set application name. This commit unifies the API
between Wayland and X11, so downstream applications can remove platform
specific code in that case.

Fixes rust-windowing#1739.
@kchibisov kchibisov merged commit cbba00d into rust-windowing:master Apr 19, 2022
@kchibisov kchibisov deleted the unify-name-setter branch April 19, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Unify with_app_id and with_class on Linux/BSD
5 participants