love icon indicating copy to clipboard operation
love copied to clipboard

Window cannot be moved using `love.window.setPos` or using `love.conf` when using KDE

Open BriellaBugs opened this issue 2 months ago • 2 comments

How to reproduce:

  • 1 Set a t.window.x or t.window.y on love.conf or

  • 1 Write love.window.setPos in main.lua

  • 2 Run the project

Expected behaviour

Window is moved to that position

What actually happens

Windows stays exactly where it is, in the middle of the screen at startup

BriellaBugs avatar Oct 13 '25 00:10 BriellaBugs

Does your window manager support that feature? If not, there's nothing love can do about it.

slime73 avatar Oct 13 '25 00:10 slime73

Also, keep in mind that calling love.window.setMode will reset any previous window state. Aside from making sure your code is doing the right thing, there isn't much love itself can do though.

slime73 avatar Oct 13 '25 02:10 slime73