Very simple change to allow middle-click primary clipboard pasting.
I'd like to get some feedback, as adding function calls and ifs to button_press_event seems a bit messy. Also it's not very future-proof, as it keeps calling send_click, which could have unexpected side-effects on the long run.
Very simple change to allow middle-click primary clipboard pasting.
I'd like to get some feedback, as adding function calls and
if
s tobutton_press_event
seems a bit messy. Also it's not very future-proof, as it keeps callingsend_click
, which could have unexpected side-effects on the long run.