Skip to content

Add ExplorerPatcher Taskbar Button Width mod#4070

Open
rodboev wants to merge 4 commits into
ramensoftware:mainfrom
rodboev:ep-taskbar-button-width
Open

Add ExplorerPatcher Taskbar Button Width mod#4070
rodboev wants to merge 4 commits into
ramensoftware:mainfrom
rodboev:ep-taskbar-button-width

Conversation

@rodboev
Copy link
Copy Markdown

@rodboev rodboev commented May 15, 2026

Summary

New mod to customize taskbar button width when using ExplorerPatcher's Windows 10 taskbar on Windows 11.

Before:

Before

After (120%):

After

The standard registry hack (HKCU\Control Panel\Desktop\WindowMetrics\MinWidth) doesn't work with ExplorerPatcher's reimplemented taskbar. This mod hooks _ComputeSingleButtonWidth to scale button width as a percentage.

Requirements

  • Windows 11 with ExplorerPatcher installed
  • ExplorerPatcher configured to use the Windows 10 taskbar

rodboev added 4 commits May 15, 2026 14:55
- Cap EnumProcessModules loop to buffer size (fixes potential overread)
- Use std::atomic for g_settingsPercent (fixes data race between threads)
- Check Wh_SetFunctionHook return value, rollback g_hooked on failure
- Use compare_exchange_strong for cleaner atomic check-and-set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant