Use a queue of unsent packets instead of threads
This also allows "unsending" packets (if they're still in the queue). This patch does that for mouse move packets, so they get accumulated together (sending less stuff over a congested link).
This also allows "unsending" packets (if they're still in the queue). This patch does that for mouse move packets, so they get accumulated together (sending less stuff over a congested link).