When Emacs is running under X Windows, the borderWidth resource controls the width of the external border.