[Spice-commits] server/cursor-channel.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Jun 8 13:32:24 UTC 2017

 server/cursor-channel.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit abc1df0b6ca903c1a8b64802ddb4197391cfc4b8
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Mon May 22 11:37:57 2017 +0100

    cursor-channel: Remove obsolete size check
    In the past CursorItem structure was stored in
    RedCursorCmd::device_data field so the check was there to check if the
    structure fit into that field.
    Since 2ba69f9f8819daaa3d166c4c1c7e03b121b88a95
    ("libspice: add surface 0 support") the structure is no more stored in
    the field so there's no reason for this check causing only confusion.
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 6aea64a5..a8761133 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -34,8 +34,6 @@ typedef struct CursorItem {
     RedCursorCmd *red_cursor;
 } CursorItem;
 struct CursorChannel
     CommonGraphicsChannel parent;

More information about the Spice-commits mailing list