[Spice-commits] 2 commits - common/quic.c spice.proto
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 2 08:28:31 UTC 2020
common/quic.c | 2 +-
spice.proto | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
New commits:
commit 03bde6fdb263769035fa7452d8e5784ac3e1fd15
Author: Frediano Ziglio <freddy77 at gmail.com>
Date: Thu Aug 27 18:52:09 2020 +0100
quic: Constify a parameter
Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/common/quic.c b/common/quic.c
index 55a5d6c..55cf572 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -334,7 +334,7 @@ static void correlate_init(QuicFamily *family, int bpc)
}
}
-static void golomb_coding_slow(QuicFamily *family, const BYTE n, const unsigned int l,
+static void golomb_coding_slow(const QuicFamily *family, const BYTE n, const unsigned int l,
unsigned int * const codeword,
unsigned int * const codewordlen)
{
commit 243c314b3f7f7c8ff8df70e08420596b2ea46084
Author: Frediano Ziglio <freddy77 at gmail.com>
Date: Wed Aug 19 15:20:32 2020 +0100
proto: Add support for side mouse buttons
This is the couterpart of spice-protocol commit
commit cbe7b2c28543f4c5e57d1db1b753b73a64104162 (HEAD -> master, origin/master, origin/HEAD)
Author: SimonP <simonp.git at gmail.com>
protocol: Add support for side mouse buttons
Side mouse buttons currently do not exist in the protocol, causing them
to be inexplicably ignored by VMs in virt-manager and such. This lays
the groundwork for fixing that issue.
Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
Acked-by: Kevin Pouget <kpouget at redhat.com>
diff --git a/spice.proto b/spice.proto
index db86696..814fa89 100644
--- a/spice.proto
+++ b/spice.proto
@@ -1031,12 +1031,18 @@ enum8 mouse_button {
RIGHT,
UP,
DOWN,
+ SIDE,
+ EXTRA,
};
flags16 mouse_button_mask {
LEFT,
MIDDLE,
- RIGHT
+ RIGHT,
+ UP,
+ DOWN,
+ SIDE,
+ EXTRA,
};
channel InputsChannel : BaseChannel {
More information about the Spice-commits
mailing list