bugfix: preserve window position

[?]
Jul 10, 2023, 10:50 PM
EVMVBLXDZPG6ITFFKUMTEVYB6ZB6H3SEL3U5MEJMQ2G4OSYNDDUAC

Dependencies

  • [2] 5RDWSYK2 consistently use App names for methods everywhere
  • [3] KKMFQDR4 editing source code from within the app
  • [4] UUTUPEOJ extract a function
  • [5] SDO4DHNU source: load cursor position from settings
  • [6] S3PNFXTB handle missing cursors in settings

Change contents

  • replacement in source.lua at line 167
    [3.169798][2.12:164]()
    -- 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)
    [3.169798]
    [3.169946]
    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