Although probably not important but it is irritating. I ran ssh in verbose mode found the following difference between normal exit and 'ssh -X' exit when reproducing:
Exit from 'ssh -vX' after running gvim and closing it:
logout
debug1: channel 0: free: client-session, nchannels 3
Exit from 'ssh -v':
logout
debug1: channel 0: free: client-session, nchannels 1
Connection to funny.local closed.
Transferred: sent 3552, received 3448 bytes, in 1.8 seconds
Bytes per second: sent 1968.9, received 1911.2
debug1: Exit status 0
Although probably not important but it is irritating. I ran ssh in verbose mode found the following difference between normal exit and 'ssh -X' exit when reproducing:
Exit from 'ssh -vX' after running gvim and closing it:
logout
debug1: channel 0: free: client-session, nchannels 3
Exit from 'ssh -v':
logout
debug1: channel 0: free: client-session, nchannels 1
Connection to funny.local closed.
Transferred: sent 3552, received 3448 bytes, in 1.8 seconds
Bytes per second: sent 1968.9, received 1911.2
debug1: Exit status 0