I'm running Emacs under PuTTY and this works better then I expected. But since I sometimes use the mouse to focus the PuTTY window, I turned xterm-mouse-mode on. This way the focus in the text changes to where I click.
But now I can't past text into putty anymore.
Normally this is done by a right click and then putty sends the copied text.
But now Emacs receives a mouse-3
event first.
Is it possible to map mouse-3
to something so that the text after the mouse event is pasted to Emacs?
Here is my current config: https://github.com/r03/dotfiles/blob/master/.emacs.d/init.el