… | |
… | |
904 | x_ev.set<rxvt_selection, &rxvt_selection::x_cb> (this); |
904 | x_ev.set<rxvt_selection, &rxvt_selection::x_cb> (this); |
905 | |
905 | |
906 | incr_buf = 0; |
906 | incr_buf = 0; |
907 | incr_buf_size = incr_buf_fill = 0; |
907 | incr_buf_size = incr_buf_fill = 0; |
908 | selection_wait = Sel_normal; |
908 | selection_wait = Sel_normal; |
|
|
909 | selection_type = selnum; |
|
|
910 | } |
|
|
911 | |
|
|
912 | void |
|
|
913 | rxvt_selection::run () |
|
|
914 | { |
|
|
915 | int selnum = selection_type; |
909 | |
916 | |
910 | #if X_HAVE_UTF8_STRING |
917 | #if X_HAVE_UTF8_STRING |
911 | selection_type = Sel_UTF8String; |
918 | selection_type = Sel_UTF8String; |
912 | if (request (display->xa[XA_UTF8_STRING], selnum)) |
919 | if (request (display->xa[XA_UTF8_STRING], selnum)) |
913 | return; |
920 | return; |