Skip to content

Commit 86f2502

Browse files
committed
fix rust-windowing#2502 on 0.30.4
1 parent 944ab60 commit 86f2502

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/platform_impl/windows/window_state.rs

+3
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ impl WindowFlags {
280280
if self.contains(WindowFlags::NO_BACK_BUFFER) {
281281
style_ex |= WS_EX_NOREDIRECTIONBITMAP;
282282
}
283+
if self.contains(WindowFlags::TRANSPARENT) {
284+
style_ex |= WS_EX_LAYERED;
285+
}
283286
if self.contains(WindowFlags::CHILD) {
284287
style |= WS_CHILD; // This is incompatible with WS_POPUP if that gets added eventually.
285288

0 commit comments

Comments
 (0)