The flags field in SpiceMsgSurfaceCreate does not only contains the primary flag. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel