diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-01 11:34:43 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-07 12:06:07 -0400 |
commit | 7628b91a0b8b12dce3783623df58924b2ba43295 (patch) | |
tree | 18fd42b090cd88ccb3701821572f14cc49c7c98e | |
parent | 8855438ab64d025495007b941ac75f2078274c13 (diff) |
Set a8 capability in the QXL device if supported by the client
-rw-r--r-- | server/red_worker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index 75bc045..81fffd7 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10362,6 +10362,8 @@ static void handle_new_display_channel(RedWorker *worker, RedClient *client, Red SET_CAP(caps, SPICE_DISPLAY_CAP_MONITORS_CONFIG); if (red_channel_client_test_remote_cap(rcc, SPICE_DISPLAY_CAP_COMPOSITE)) SET_CAP(caps, SPICE_DISPLAY_CAP_COMPOSITE); + if (red_channel_client_test_remote_cap(rcc, SPICE_DISPLAY_CAP_A8_SURFACE)) + SET_CAP(caps, SPICE_DISPLAY_CAP_A8_SURFACE); worker->qxl->st->qif->set_client_capabilities(worker->qxl, TRUE, caps); } |