… | |
… | |
599 | } |
599 | } |
600 | |
600 | |
601 | void rxvt_display::set_selection_owner (rxvt_term *owner) |
601 | void rxvt_display::set_selection_owner (rxvt_term *owner) |
602 | { |
602 | { |
603 | if (selection_owner && selection_owner != owner) |
603 | if (selection_owner && selection_owner != owner) |
|
|
604 | { |
|
|
605 | rxvt_term *owner = selection_owner; |
|
|
606 | |
604 | selection_owner->selection_clear (); |
607 | owner->selection_clear (); |
|
|
608 | owner->flush (); |
|
|
609 | } |
605 | |
610 | |
606 | selection_owner = owner; |
611 | selection_owner = owner; |
607 | } |
612 | } |
608 | |
613 | |
609 | #ifdef USE_XIM |
614 | #ifdef USE_XIM |