The patch addresses two bugs:
- [ 1562902 ] Window resizing works funny
- when dragging the Console from one monitor to another, the window ends up at a wrong location.
Both bugs appear only if "Snap to edges" setting is active.
The first bug is caused by a simple mistake in OnWindowPosChanging - you cannot mix GetWindowRect with pWinPos (as in pWinPos->x + rectWindow.Widht()).
The second bug is caused by an attempt to choose which monitor to use in determining edges by using a mouse cursor and moving the main window to that location.
The patch also attempts to improve visual feedback during resizing by jumping the drag rectangle to possible borders (determined by the used font).
Log in to post a comment.