diff options
| author | Paul Eggert | 2011-02-09 23:04:56 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-09 23:04:56 -0800 |
| commit | be6d99804b3efdecf3660c4b51da1945e955fb4d (patch) | |
| tree | 99b523c445f7b95572ab668f4e878cd703ff3527 /src/xselect.c | |
| parent | dd4638842ad1921562bc66049ec81a4530651cdf (diff) | |
| parent | 67f02b82f496be403353a1dc918cc4f2278841bb (diff) | |
| download | emacs-be6d99804b3efdecf3660c4b51da1945e955fb4d.tar.gz emacs-be6d99804b3efdecf3660c4b51da1945e955fb4d.zip | |
Merge from mainline.
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index 96c8b9c4c47..a502a74f904 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -126,6 +126,20 @@ static Lisp_Object Qforeign_selection; | |||
| 126 | /* Defined in keyboard.c. */ | 126 | /* Defined in keyboard.c. */ |
| 127 | extern unsigned long last_event_timestamp; | 127 | extern unsigned long last_event_timestamp; |
| 128 | 128 | ||
| 129 | /* This is an association list whose elements are of the form | ||
| 130 | ( SELECTION-NAME SELECTION-VALUE SELECTION-TIMESTAMP FRAME) | ||
| 131 | SELECTION-NAME is a lisp symbol, whose name is the name of an X Atom. | ||
| 132 | SELECTION-VALUE is the value that emacs owns for that selection. | ||
| 133 | It may be any kind of Lisp object. | ||
| 134 | SELECTION-TIMESTAMP is the time at which emacs began owning this selection, | ||
| 135 | as a cons of two 16-bit numbers (making a 32 bit time.) | ||
| 136 | FRAME is the frame for which we made the selection. | ||
| 137 | If there is an entry in this alist, then it can be assumed that Emacs owns | ||
| 138 | that selection. | ||
| 139 | The only (eq) parts of this list that are visible from Lisp are the | ||
| 140 | selection-values. */ | ||
| 141 | static Lisp_Object Vselection_alist; | ||
| 142 | |||
| 129 | 143 | ||
| 130 | 144 | ||
| 131 | /* Define a queue to save up SELECTION_REQUEST_EVENT events for later | 145 | /* Define a queue to save up SELECTION_REQUEST_EVENT events for later |