summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2015-05-18 09:10:06 +0000
committerLauri Kasanen <cand@gmx.com>2015-05-18 09:10:06 +0000
commit03f69c0dd5244c50e430b430ee3a2e952b5a00fe (patch)
treeb1091de7479eb2cfc9bdf1b0ff9cb2089511f722 /FL
parentf28b89f1d04922aa1fc5c90f6623fbd2b0400f8c (diff)
Add support for Fl::copy(..clipboard = 2..)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 7a621ef7a..4c7649f90 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -837,8 +837,9 @@ public:
// cut/paste:
/**
Copies the data pointed to by \p stuff to the selection buffer
- (\p destination is 0) or
- the clipboard (\p destination is 1).
+ (\p destination is 0), the clipboard (\p destination is 1), or
+ both (\p destination is 2). Copying to both is only relevant on X11,
+ on other platforms it maps to the clipboard (1).
\p len is the number of relevant bytes in \p stuff.
\p type is always Fl::clipboard_plain_text.
The selection buffer is used for