Old patch redone for current git master.
I think I've got all changes needed since it last broke from trunk.
Details at old patch task: T20968
Here is the short summary of changes.
- Fixes an off-by-one error in screen_test_scale() which causes the areas and regions to draw one pixel bigger on the right and top side of the window, therefor hiding one line of pixels.
- Fixes an off-by-one error in rct_fits() which causes regions to incorrectly hide even though it would fit inside the area.
- Correctly set the limits for the screen edge move operator so it will always go up to AREAMINX and headery.
- Change screen_find_active_scredge() so it doesn't show the arrows cursor on the screen edges along the window border.
If I have time, I may go over and in-line comment some places so you can understand order of changes. I have a patch series on my branch but here it's one diff.