diff options
author | Alon Levy <alevy@redhat.com> | 2012-06-07 15:04:51 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-07-22 13:50:49 +0300 |
commit | 0acea04d71f28e98b15620e31902dd8e2196c637 (patch) | |
tree | 8a8488971d761945e8bf8c75705e7e2cbb7e5f2f /server/red_worker.h | |
parent | e29dc5250cb12cf42b6875d5a7e4bd77d2897d74 (diff) | |
download | spice-0acea04d71f28e98b15620e31902dd8e2196c637.tar.gz spice-0acea04d71f28e98b15620e31902dd8e2196c637.tar.xz spice-0acea04d71f28e98b15620e31902dd8e2196c637.zip |
server: add monitors_config support
a SpiceMsgDisplayMonitorsConfig is sent on two occasions:
* as a result of a spice_qxl_monitors_config_async
* whenever a client connects and there is a previously set monitors
config
Sending the new message is protected by a new cap,
SPICE_DISPLAY_CAP_MONITORS_CONFIG
More elaborately:
spice_qxl_monitors_config_async receives a QXLPHYSICAL address of a
QXLMonitorsConfig struct and reads it, caching it in the RedWorker, and
sending it to all clients. Whenever a new client connects it receives
a SpiceMsgDisplayMonitorsConfig message as well.
Diffstat (limited to 'server/red_worker.h')
-rw-r--r-- | server/red_worker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_worker.h b/server/red_worker.h index fd23ede9..6c5b839f 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -85,6 +85,8 @@ enum { RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, + RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC, + RED_WORKER_MESSAGE_COUNT // LAST }; |