swap_owner function altered to swap the 'src' ID as well

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
'src' is used to determine source of events rather than 'srcptr'

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>