Fix this by storing if the border is set - before this was only done for the window dimensions. also move these variables into a static struct so this logic is easier to follow.
Fix this by storing if the border is set - before this was only done for the window dimensions. also move these variables into a static struct so this logic is easier to follow.