bugfix: preserve window position

[?]
Jul 10, 2023, 11:08 PM
UZQ2LGHQ4SKSSPID5HSPHAO56XNMYZTDMSJLIPEA5ZQ7G7DBVMCQC

Dependencies

  • [2] 5RDWSYK2 consistently use App names for methods everywhere
  • [3] KKMFQDR4 editing source code from within the app

Change contents

  • replacement in run.lua at line 66
    [2.321][2.321:386]()
    App.screen.move(Settings.x, Settings.y, Settings.displayindex)
    [2.321]
    [3.180008]
    run.set_window_position_from_settings(Settings)
  • edit in run.lua at line 71
    [3.180297]
    [3.180297]
    end
    function 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)
    else
    App.screen.move(settings.x, settings.y, settings.displayindex)
    end