Skip to content

Unify with_app_id and with_class methods#2250

Merged
kchibisov merged 1 commit intorust-windowing:masterfrom
kchibisov:unify-name-setter
Apr 19, 2022
Merged

Unify with_app_id and with_class methods#2250
kchibisov merged 1 commit intorust-windowing:masterfrom
kchibisov:unify-name-setter

Conversation

@kchibisov
Copy link
Copy Markdown
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
Copy Markdown
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.

@kchibisov kchibisov added this to the Version 0.27 milestone Apr 11, 2022
@msiglreith msiglreith added DS - x11 Affects the X11 backend, or generally free Unix platforms DS - wayland Affects the Wayland backend, or generally free Unix platforms labels Apr 13, 2022
Copy link
Copy Markdown
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

@kchibisov kchibisov requested a review from madsmtm April 17, 2022 17:56
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

Labels

DS - wayland Affects the Wayland backend, or generally free Unix platforms DS - x11 Affects the X11 backend, or generally free Unix platforms

Development

Successfully merging this pull request may close these issues.

Unify with_app_id and with_class on Linux/BSD

5 participants