Gamewindow SetPosition inaccurate

with the recent updates to window handling, some things have changed for worse.

Gamma 7.0:

Setting Window Position to 0,0 behaves as expected


Gamma 7.1 and 7.2

The window has an unexpected X offset of 10 pixels

The titlebar also being part of the position calculation is not as much of an issue because of the Extend into the title bar feature.

I guess the X-offset is a bug.

One more:
When Extend into the titlebar is selected, the window-size increases by the titlebar-size (which kind of makes sense). However, when applying SetSize, I’d expect the window to be exactly that size. But it will be the given size + the invisible titlebar height (which is unexpected to me):

2 Likes