If the mouse is moved onto the border, the pointer changes shape and by pressing the left mouse button and moving the mouse it is possible to change the window size. Not all programs allow changing their window size and some programs do not have square windows, which makes changing their size slightly tricky as they do not have borders.