Skip to content

Commit 210c615

Browse files
authored
1 parent 8ddd10a commit 210c615

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
@@ -301,6 +301,9 @@ impl WindowFlags {
301301
if self.contains(WindowFlags::IGNORE_CURSOR_EVENT) {
302302
style_ex |= WS_EX_TRANSPARENT | WS_EX_LAYERED;
303303
}
304+
if self.contains(WindowFlags::TRANSPARENT) {
305+
style_ex |= WS_EX_LAYERED;
306+
}
304307
if self.contains(WindowFlags::CLIP_CHILDREN) {
305308
style |= WS_CLIPCHILDREN;
306309
}

0 commit comments

Comments
 (0)