Page 2 of 2

Re: Correctly resizing window on HD monitor?

Posted: Mon Jul 29, 2019 8:54 pm
by bridgs
Thank you for that context. It sounds like there's no action to be taken on this so I'll close the bug ticket I opened. If anyone finds with thread in the future, I'll update it if I see the issue resolved or see a reliable workaround.

Re: Correctly resizing window on HD monitor?

Posted: Wed Jul 31, 2019 12:19 pm
by Sasha264
updateMode will destroy and recreate the entire window and OpenGL context
Thanks, learned something new ^_^

About workaround:
Since this code returnes index of current display:

Code: Select all

local _, _, display = love.window.getPosition()
You can monitor when it changes, and then call updateWindow(...) to "attune" :crazy: your game window to current monitor...

Well, on my windows multi-monitor config it changes display index when the center of the window is moved to another screen. With macos I only have single monitor config. Maybe someone else can test this case :monocle: