DX11 fullscreen to lower resolution makes mouse cursor misaligned with the game when DPI scaling is enabled.

neverfor77

New member
Changing to a lower resolution and alt tabbing causes the cursor to misalign with the game when you alt tab back in the game.

System specs:
Resolution: 3456x2160
System scaling(dpi scaling): 250%

Steps to reproduce:
Change the resolution to a lower one(1920x1200 in this case), minimize the game(i alt+tabbed), maximize the game, mouse cursor should now be misaligned just like in the attached video. UI elements are correctly highlighted if you hover over minimized game.

The behaviour is not present when using vulkan renderer. The behaviour is not present when DPI scaling is 100%. The behaviour was the same with DX11 Dota 2 last time I checked(about a year ago).

It's always the damn DPI scaling isn't it? Hopefully its a matter of setting dpi awareness flag and is easy to fix.

Attached video of misaligned cursor(notice how the highlighted UI elements aren't under the mouse):
View attachment Deadlock 2026.02.06 - 05.40.58.04.mp4
 

Attachments

Back
Top