-
Notifications
You must be signed in to change notification settings - Fork 932
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
Introduce WindowBuilderExt::with_app_id for wayland #700
Conversation
src/os/unix.rs
Outdated
@@ -225,6 +225,13 @@ pub trait WindowBuilderExt { | |||
fn with_resize_increments(self, increments: LogicalSize) -> WindowBuilder; | |||
/// Build window with base size hint. Only implemented on X11. | |||
fn with_base_size(self, base_size: LogicalSize) -> WindowBuilder; | |||
|
|||
/// Build window with a given app-id. It should match the `.desktop` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Build window with a given app-id. It should match the `.desktop` | |
/// Build window with a given `app-id`. It should match the `.desktop` |
Should app-id
be in backticks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it should probably just be "application ID"
src/os/unix.rs
Outdated
/// Build window with a given app-id. It should match the `.desktop` | ||
/// file distributed with your program. Only relevant on Wayland. | ||
/// | ||
/// For details about application id conventions, see the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// For details about application id conventions, see the | |
/// For details about application ID conventions, see the |
To be more consistent with the stylization you used in the CHANGELOG
This was discussed some time ago, and allows applications to specify an application id that the wayland compositor will use to find the matching
.desktop
file.CHANGELOG.md
if knowledge of this change could be valuable to users