From 1af934dedf8f2881f58c0dc50743f2e297dbcd4d Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 9 May 2023 15:05:32 +0300 Subject: [PATCH] feat: enable shadows by default for undecorated window on Windows --- .changes/windows-undecorated-shadow.md | 5 +++++ src/platform_impl/windows/mod.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/windows-undecorated-shadow.md diff --git a/.changes/windows-undecorated-shadow.md b/.changes/windows-undecorated-shadow.md new file mode 100644 index 000000000..f7a92cfee --- /dev/null +++ b/.changes/windows-undecorated-shadow.md @@ -0,0 +1,5 @@ +--- +"tao": "minor" +--- + +Enable shadows by default for undecorated window on Windows. diff --git a/src/platform_impl/windows/mod.rs b/src/platform_impl/windows/mod.rs index 7204a577e..9f047b1f6 100644 --- a/src/platform_impl/windows/mod.rs +++ b/src/platform_impl/windows/mod.rs @@ -63,7 +63,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes { drag_and_drop: true, preferred_theme: None, skip_taskbar: false, - decoration_shadow: false, + decoration_shadow: true, } } }