DarkRadiant: 2.9.0 9537e9e2

Author Committer Branch Timestamp Parent
greebo greebo 2.9.0 14.11.2020 17:33 2.9.0 161deef7
Affected Issues  0005401: DR not always remembering window size and position between sessions
Changeset 0005401: Remove the code trying to fix the bottom left window coordinate if it's supposedly off-screen, we only care about the upper left corner.
Use GetScreenPosition to read the actual window position after moving, the wxMoveEvent delivers some offsets. The values returned by GetScreenPosition can be negative (on my Win10) machine, but this obviously is not a problem when trying to restore these values.
mod - libs/wxutil/WindowPosition.cpp Diff File