diff options
Diffstat (limited to 'src/screen.C')
-rw-r--r-- | src/screen.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screen.C b/src/screen.C index f3c6d57..75b38d7 100644 --- a/src/screen.C +++ b/src/screen.C @@ -2744,11 +2744,11 @@ rxvt_term::paste (char *data, unsigned int len) NOTHROW void rxvt_term::selection_request (Time tm, int selnum) NOTHROW { - if (!selection_req) - { - selection_req = new rxvt_selection (display, selnum, tm, vt, xa[XA_VT_SELECTION], this); - selection_req->run (); - } + if (selection_req) + selection_req->finish (); + + selection_req = new rxvt_selection (display, selnum, tm, vt, xa[XA_VT_SELECTION], this); + selection_req->run (); } /* ------------------------------------------------------------------------- */ |