bugfix: preserve window position
[?]
Jul 10, 2023, 10:50 PM
EVMVBLXDZPG6ITFFKUMTEVYB6ZB6H3SEL3U5MEJMQ2G4OSYNDDUACDependencies
- [2]
5RDWSYK2consistently use App names for methods everywhere - [3]
S3PNFXTBhandle missing cursors in settings - [4]
KKMFQDR4editing source code from within the app - [5]
UUTUPEOJextract a function - [6]
SDO4DHNUsource: load cursor position from settings
Change contents
- replacement in source.lua at line 167
-- 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)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