SelectUp() completes a mouse selection.
If the mouse was not moved between the last call to SelectDown(), the cursor is simply moved to the current mouse cursor location.
If the mouse was moved, the region between the mouse cursor's location at the time of calling SelectDown() and the time of calling SelectUp() is selected and the specified X11 selection is set to its contents.
SelectUp() takes a single parameter:
- The name of an X11 selection to set, for example PRIMARY or CLIPBOARD.