projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7424692
)
Fix last change to set_selection_owner, selection_clear resets
author
sf-exg
<sf-exg>
Mon, 22 Feb 2010 09:47:41 +0000
(09:47 +0000)
committer
sf-exg
<sf-exg>
Mon, 22 Feb 2010 09:47:41 +0000
(09:47 +0000)
{selection,clipboard}_owner so we cannot use a reference to call flush.
src/rxvttoolkit.C
patch
|
blob
|
history
diff --git
a/src/rxvttoolkit.C
b/src/rxvttoolkit.C
index 77c908f4c1db2a420fdf725ba67c4ad49174b19a..5f70647bffe475aebefb2480d0a08b386e47a595 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;