calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
167 stars 41 forks source link

Fix fullscreen window sizing on MacOS HighDPI display #370

Closed NQNStudios closed 1 week ago

NQNStudios commented 1 week ago

Fixes #369 in a counterintuitive way.

I would have thought that we would want the flag that says High DPI displays are supported (which was even something Fosnola had done and I tried cherry-picking to fix this.)

But this very old SFML forum thread suggested setting the very same flag to false. Which I did, and it fixed both parts of the issue--the fullscreen window size, and the positioning of dialog windows.

CelticMinstrel commented 1 week ago

I think this probably is correct. After all, OBoE is indeed not conscious of hi-DPI displays, requiring the user to intervene manually to apply a scaling factor.