--- rxvt-unicode/src/command.C 2010/01/06 12:10:44 1.435 +++ rxvt-unicode/src/command.C 2010/01/24 21:53:13 1.436 @@ -1464,7 +1464,7 @@ break; case SelectionClear: - selection_clear (); + selection_clear (ev.xselectionclear.selection == xa[XA_CLIPBOARD]); break; case SelectionNotify: