Skip to content

Commit

Permalink
fix rust-windowing#2502 on 0.30.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlan404 committed Sep 22, 2024
1 parent 944ab60 commit 86f2502
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform_impl/windows/window_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ impl WindowFlags {
if self.contains(WindowFlags::NO_BACK_BUFFER) {
style_ex |= WS_EX_NOREDIRECTIONBITMAP;
}
if self.contains(WindowFlags::TRANSPARENT) {
style_ex |= WS_EX_LAYERED;
}
if self.contains(WindowFlags::CHILD) {
style |= WS_CHILD; // This is incompatible with WS_POPUP if that gets added eventually.

Expand Down

0 comments on commit 86f2502

Please sign in to comment.