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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants