From a57471feb267788cc6c80662c0c10d9a99cc5ed8 Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Mon, 16 Oct 2023 23:26:04 +0700 Subject: [PATCH] Taskbar10: Fix start menu position when the taskbar is at the left or right side on Moment 4 builds --- ExplorerPatcher/dllmain.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index c15db1077..2ecb14152 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -9693,6 +9693,15 @@ int RtlQueryFeatureConfigurationHook(UINT32 featureId, int sectionType, INT64* c break; } #endif + case 44656322: // ID44656322 + { + if (bOldTaskbar) + { + // Fixes start menu positioning when the taskbar is at the left or right side + buffer->enabledState = FEATURE_ENABLED_STATE_DISABLED; + } + break; + } } return rv; }