Remove global inputs channel

Enterprise / Virtualization / SPICE - Jonathon Jongsma [redhat.com] - 28 January 2016 09:34 UTC

Make the RedsState object own an InputsChannel object rather than having a global inputs channel. This means changing a lot of inputs-related API to take an InputsChannel* argument and moving the keyboard, mouse, and tablet objects into the InputsChannel object.

ab55619 Remove global inputs channel
server/inputs-channel.c | 237 ++++++++++++++++++++++++++---------------------
server/inputs-channel.h | 30 +++---
server/reds-private.h | 1 +
server/reds.c | 26 +++---
4 files changed, 166 insertions(+), 128 deletions(-)

Upstream: cgit.freedesktop.org


  • Share