[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12. Interacting With X11

Function: set-x-selection text &optional (selection *default-selections*)

Set the X11 selection string to string.

@ set-x-selection

Function: get-x-selection &optional timeout (selection *default-selections*)

Return the x selection no matter which client owns it.

@ get-x-selection

Variable: *default-selections*

A keyword or list, one of: :primary or ’(:primary) uses only the "primary" selection :clipboard or ’(:clipboard) uses only the "clipboard" selection Both can be specified in a list like ’(:primary :clipboard). In this case, set-x-selection will clobber both, and get-x-selection will default to the first item.

Variable: *x-selection*

This is a plist of stumpwm’s current selections. The different properties are generally set when killing text in the input bar.


This document was generated on January 28, 2024 using texi2html 1.82.