winit: Transparent example not working
When I run cargo run --example transparent instead of a transparent window I just get a white window with no decorations.
It seems the problem was introduced in this PR: https://github.com/rust-windowing/winit/pull/2419 If I revert to a commit before that PR was merged, then I see no GUI window showing up at all which I believe is the intended result (I see the icon in the taskbar and it appears in the alt+tab window list).
When I run the transparent example on the latest commit I just get a white window (with the expected icon in the taskbar)
I am running Windows 10.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 4
- Comments: 19 (11 by maintainers)
thanks for the report. It should work fine when actually drawing something onto the window surface, which the examples don’t do. With the changes from the PR the screens windows will be completely invisible for me, no matter what I draw on it.