[Spice-devel] [PATCH spice-gtk 4/4] channel-display: Update debug message

Frediano Ziglio fziglio at redhat.com
Fri Apr 13 14:49:19 UTC 2018


The flags field in SpiceMsgSurfaceCreate does not only contains
the primary flag.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 src/channel-display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/channel-display.c b/src/channel-display.c
index 2ea0922..5329ed0 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -1776,7 +1776,7 @@ static void display_handle_surface_create(SpiceChannel *channel, SpiceMsgIn *in)
     surface->size   = surface->height * surface->stride;
 
     if (create->flags & SPICE_SURFACE_FLAGS_PRIMARY) {
-        SPICE_DEBUG("primary flags: %x", create->flags);
+        SPICE_DEBUG("surface flags: %x", create->flags);
         surface->primary = true;
         create_canvas(channel, surface);
         if (c->mark_false_event_id != 0) {
-- 
2.14.3



More information about the Spice-devel mailing list