… | |
… | |
926 | void |
926 | void |
927 | rxvt_selection::run () |
927 | rxvt_selection::run () |
928 | { |
928 | { |
929 | int selnum = selection_type; |
929 | int selnum = selection_type; |
930 | |
930 | |
|
|
931 | #if ENABLE_FRILLS |
|
|
932 | if (selnum == Sel_Primary && display->selection_owner) |
|
|
933 | { |
|
|
934 | /* internal selection */ |
|
|
935 | char *str = rxvt_wcstombs (display->selection_owner->selection.text, display->selection_owner->selection.len); |
|
|
936 | finish (str, strlen (str)); |
|
|
937 | free (str); |
|
|
938 | return; |
|
|
939 | } |
|
|
940 | #endif |
|
|
941 | |
931 | #if X_HAVE_UTF8_STRING |
942 | #if X_HAVE_UTF8_STRING |
932 | selection_type = Sel_UTF8String; |
943 | selection_type = Sel_UTF8String; |
933 | if (request (display->xa[XA_UTF8_STRING], selnum)) |
944 | if (request (display->xa[XA_UTF8_STRING], selnum)) |
934 | return; |
945 | return; |
935 | #else |
946 | #else |