bugfix: preserve window position
[?]
Jul 10, 2023, 11:08 PM
UZQ2LGHQ4SKSSPID5HSPHAO56XNMYZTDMSJLIPEA5ZQ7G7DBVMCQCDependencies
- [2]
5RDWSYK2consistently use App names for methods everywhere - [3]
KKMFQDR4editing source code from within the app
Change contents
- replacement in run.lua at line 66
App.screen.move(Settings.x, Settings.y, Settings.displayindex)run.set_window_position_from_settings(Settings) - edit in run.lua at line 71
endfunction run.set_window_position_from_settings(settings)local os = love.system.getOS()if os == 'Linux' then-- love.window.setPosition doesn't quite seem to do what is asked of it on Linux.App.screen.move(settings.x, settings.y-37, settings.displayindex)elseApp.screen.move(settings.x, settings.y, settings.displayindex)end