Skip to content

wayland: Add WindowExtWayland::xdg_toplevel#4076

Merged
kchibisov merged 1 commit into
rust-windowing:masterfrom
ultimaweapon:wayland
Apr 29, 2025
Merged

wayland: Add WindowExtWayland::xdg_toplevel#4076
kchibisov merged 1 commit into
rust-windowing:masterfrom
ultimaweapon:wayland

Conversation

@ultimaweapon
Copy link
Copy Markdown
Contributor

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

I did not update changelog yet because I don't know if this change is okay or not.

Resolves #4068.

@kchibisov
Copy link
Copy Markdown
Member

We can not expose objects from SCTK like that. We can expose a pointer, but that's about it.

@ultimaweapon
Copy link
Copy Markdown
Contributor Author

Thanks for the review. I have changed the method to return *mut c_void so please check.

@kchibisov
Copy link
Copy Markdown
Member

You should open your changes against master.

@ultimaweapon ultimaweapon changed the base branch from v0.30.x to master January 5, 2025 08:45
@ultimaweapon
Copy link
Copy Markdown
Contributor Author

Ops sorry for triggering additional review requests. I have cherry-pick my commits to master branch and updated it so please check.

Comment thread src/platform/wayland.rs Outdated
Copy link
Copy Markdown
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.

Needs a changelog entry.

Comment thread src/platform/wayland.rs Outdated
@madsmtm madsmtm added DS - wayland Affects the Wayland backend, or generally free Unix platforms S - api Design and usability labels Feb 24, 2025
@kchibisov kchibisov merged commit 078c4c0 into rust-windowing:master Apr 29, 2025
57 checks passed
@ultimaweapon ultimaweapon deleted the wayland branch April 29, 2025 06:27
@madsmtm madsmtm added this to the Version 0.30.10 milestone Apr 29, 2025
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 S - api Design and usability

Development

Successfully merging this pull request may close these issues.

Provides a method to get xdg_toplevel on Wayland

3 participants