projects
/
dana
/
urxvt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for copying to clipboard (based on patch by Dana Jansens).
[dana/urxvt.git]
/
src
/
command.C
diff --git
a/src/command.C
b/src/command.C
index
e9c2a16
..
60a87db
100644
(file)
--- a/
src/command.C
+++ b/
src/command.C
@@
-1464,7
+1464,7
@@
rxvt_term::x_cb (XEvent &ev)
break;
case SelectionClear:
- selection_clear ();
+ selection_clear (
ev.xselectionclear.selection == xa[XA_CLIPBOARD]
);
break;
case SelectionNotify: