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

add option for undecorated_shadow on windows #2285

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

n1ght-hunter
Copy link
Contributor

adds an option to enable undecorated_shadow on windows. something that is needed for client decorations.
this could actually be done on the client side though. since it just makes the window smaller and adds a 1px border around the edge.

@n1ght-hunter
Copy link
Contributor Author

n1ght-hunter commented Feb 23, 2024

also there is something about shadow on macos but its not documented properly so have no idea what it is. if someone is able to test that would be great i dont have a macos pc available.

link to the code in winit
https://github.com/rust-windowing/winit/blob/a127bd6f6684909852000cdf32469bac3b611887/src/platform/macos.rs#L256

@dtzxporter
Copy link
Contributor

Hi, it works similarly on macOS. The only difference is, on macOS the default is true where on win32 the default is false.

@hecrj hecrj merged commit d1ceada into iced-rs:master Sep 5, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition feature New feature or request shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants