Workaround for middle mouse click

It seems another problem with my Debian environment is the middle mouse
click was not being caught. The work around was to pass a "different"
function to each event handler.