!til &window-manager In windows applications there is an invisible border that shows resizing pointer when you hover over it. So if you want to draw a custom colored border around any window you must offset its size. The problem is some apps have found a way to not draw this border (vscode, slack, maybe other electron apps), so if you offset your custom border it wont look good for all apps.