projects
/
dana
/
urxvt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix last change to set_selection_owner, selection_clear resets
[dana/urxvt.git]
/
src
/
rxvttoolkit.C
diff --git
a/src/rxvttoolkit.C
b/src/rxvttoolkit.C
index
77c908f
..
5f70647
100644
(file)
--- a/
src/rxvttoolkit.C
+++ b/
src/rxvttoolkit.C
@@
-609,8
+609,9
@@
void rxvt_display::set_selection_owner (rxvt_term *owner, bool clipboard)
if (cur_owner && cur_owner != owner)
{
- cur_owner->selection_clear (clipboard);
- cur_owner->flush ();
+ rxvt_term *term = cur_owner;
+ term->selection_clear (clipboard);
+ term->flush ();
}
cur_owner = owner;