• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Borderless window gaming - but with correct mouse coordinates?

boxleitnerb

Platinum Member
Hi guys,

I've been trying to run some games in borderless windowed mode. There are several tools out there that can do that, unfortunately the vertical mouse coordinates are not entirely correct then. Is there a way around that?

Thanks!
 
Sounds like the game engine is confusing "On Screen" coordinates with "Active Window" coordinates. If it is your borderless program that is creating the issues, you could try a few different ones. Otherwise if it is hardcoded into the game engine or you simply have no other options, you could create an AutoHotKey script that realigns the mouse with the correct offsets everytime you move the mouse.

*edit*
After further thinking, I think it would be the most user friendly if it only moved the mouse when you clicked and then quickly moved it back. Unfortunately it would still have issues for things where the mouse passively does things without clicking, although I'm sure someone much smarter than me could figure it out.
 
Last edited:
Civilization 5. I run it in windowed mode and use GameCompanion:
http://pcgamingwiki.com/wiki/Borderless_fullscreen_windowed#GameCompanion

I've tried the last method by Hellstrong as well, still those coordinate issues.

Right now I'm using AutoHotkey and the following script:

F12:: WinGet, WindowID, ID, A WinSet, Style, -0xC40000, ahk_id %WindowID% WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight return

How would I have to edit that to adjust for the coordinates?
 
Last edited:
Back
Top