# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1612750180 0 # Node ID 1cffb66cf7b8384dde415479583052a1ca0018f7 # Parent 48a541ffa84db8f36f22fdb3229f291e60d205b0 Win: The taskbar feature test on Windows wasn't quite right. diff -r 48a541ffa84d -r 1cffb66cf7b8 win/dw.c --- a/win/dw.c Sun Feb 07 22:42:48 2021 +0000 +++ b/win/dw.c Mon Feb 08 02:09:40 2021 +0000 @@ -13850,6 +13850,7 @@ #endif case DW_FEATURE_CONTAINER_STRIPE: case DW_FEATURE_MDI: + case DW_FEATURE_TASK_BAR: return DW_FEATURE_ENABLED; #ifdef BUILD_TOAST case DW_FEATURE_NOTIFICATION: @@ -13891,7 +13892,6 @@ return DW_FEATURE_UNSUPPORTED; } #endif - case DW_FEATURE_TASK_BAR: default: return DW_FEATURE_UNSUPPORTED; } @@ -13927,6 +13927,7 @@ #endif case DW_FEATURE_CONTAINER_STRIPE: case DW_FEATURE_MDI: + case DW_FEATURE_TASK_BAR: return DW_ERROR_GENERAL; #ifdef BUILD_TOAST case DW_FEATURE_NOTIFICATION: @@ -13970,8 +13971,6 @@ return DW_ERROR_GENERAL; } #endif - case DW_FEATURE_TASK_BAR: - return DW_ERROR_GENERAL; default: return DW_FEATURE_UNSUPPORTED; }