# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1591898549 0 # Node ID 6608fc7f64653c145430042635864349617de986 # Parent 5110598705c25f44ec389d32721a0dbca3ec31c7 Win: The window transparency feature is enabled and disabled by the system. So when the system has it disable correctly report it as disabled. diff -r 5110598705c2 -r 6608fc7f6465 win/dw.c --- a/win/dw.c Thu Jun 11 05:08:36 2020 +0000 +++ b/win/dw.c Thu Jun 11 18:02:29 2020 +0000 @@ -13369,9 +13369,6 @@ case DW_FEATURE_HTML: case DW_FEATURE_HTML_RESULT: #endif -#ifdef AEROGLASS - case DW_FEATURE_WINDOW_TRANSPARENCY: -#endif #ifdef BUILD_TOAST case DW_FEATURE_NOTIFICATION: #endif @@ -13379,6 +13376,12 @@ case DW_FEATURE_MDI: return DW_FEATURE_ENABLED; #ifdef AEROGLASS + case DW_FEATURE_WINDOW_TRANSPARENCY: + { + if(_dw_composition) + return DW_FEATURE_ENABLED; + return DW_FEATURE_DISABLED; + } case DW_FEATURE_DARK_MODE: { if(_DW_DARK_MODE_SUPPORTED)