Skip to content

feat: add transparency to overlay window#33

Merged
azadix merged 1 commit intoazadix:masterfrom
duyluonglc:patch-1
Nov 24, 2025
Merged

feat: add transparency to overlay window#33
azadix merged 1 commit intoazadix:masterfrom
duyluonglc:patch-1

Conversation

@duyluonglc
Copy link
Copy Markdown

Fix: Prevent D2Stat overlay from stealing focus during combat

The D2Stat notification overlay, when clicked, would steal focus away from the main game window, causing significant inconvenience, especially when users are engaged in time-sensitive actions like combat.

This fix resolves the issue by ensuring mouse input passes through the overlay directly to the game below.

Technical implementation:
Added the WS_EX_TRANSPARENT extended window style to the D2Stat overlay window. This flag instructs the system to ignore the window for mouse hits, allowing clicks to register on the underlying game window.

Fix: Prevent D2Stat overlay from stealing focus during combat
@azadix azadix merged commit 47b65d2 into azadix:master Nov 24, 2025
@duyluonglc duyluonglc deleted the patch-1 branch December 16, 2025 05:28
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.

2 participants