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
/
main.C
diff --git
a/src/main.C
b/src/main.C
index
88bd0e5
..
9d8acc6
100644
(file)
--- a/
src/main.C
+++ b/
src/main.C
@@
-239,6
+239,7
@@
rxvt_term::~rxvt_term ()
if (display)
{
selection_clear ();
+ selection_clear (true);
#ifdef USE_XIM
im_destroy ();
@@
-273,6
+274,7
@@
rxvt_term::~rxvt_term ()
free (allocated [i]);
free (selection.text);
+ free (selection.clip_text);
// TODO: manage env vars in child only(!)
free (env_display);
free (env_term);