spice-protocol/spice
Hans de Goede 19198574ad vd_agent.h: add a VD_AGENT_CAP_SPARSE_MONITORS_CONFIG capability (rhbz#881072)
Currently the agent expect a monitor config to be continuous. If the user has
3 monitors (3 spice display windows) open and tries to disable the 2nd one,
then instead of the 2nd one being closed, the 3th one ends up closed.

To be able to fix this we need to be able to send a sparse monitor config
to the agent. A monitor being disabled in such a sparse config is simply
represented by its width and height being 0 in its VDAgentMonConfig.

Since old versions of the agent won't be capable of dealing with such a
0x0 sized monitor, this patch adds a new VD_AGENT_CAP_SPARSE_MONITORS_CONFIG
capability to signal to the client that the agent understands this, and
the client should only send sparse monitor configs to agents with this
capability.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-01-18 11:53:00 +01:00
..
barrier.h define spice_mb MemoryBarrier for WIN64 2011-02-02 11:34:19 +02:00
controller_prot.h Add controller messages for USB redirection 2012-04-03 10:31:57 +02:00
end-packed.h mingw32: specify packing alignment to 1 byte, to override -mms-bitfield 2010-12-29 16:13:55 +01:00
enums.h Add port channel enum values 2012-11-30 13:41:55 +01:00
error_codes.h Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
foreign_menu_prot.h build: include spice/types.h in foreign_menu_prot.h 2012-02-23 22:18:34 +01:00
ipc_ring.h Fix up SPICE_SPICE typo 2010-02-04 18:10:50 +01:00
macros.h macros: define INLINE 2011-05-12 11:45:58 +03:00
Makefile.am Add QXL_ESCAPE_SET_CUSTOM_DISPLAY 2012-05-11 18:19:25 +02:00
protocol.h Add port channel enum values 2012-11-30 13:41:55 +01:00
qxl_dev.h qxl_dev.h: add client monitors configuration notification to guest 2012-09-12 16:54:08 +03:00
qxl_windows.h Add QXL_ESCAPE_SET_CUSTOM_DISPLAY 2012-05-11 18:19:25 +02:00
start-packed.h mingw32: specify packing alignment to 1 byte, to override -mms-bitfield 2010-12-29 16:13:55 +01:00
stats.h Fix SPICE_STAT_SHM_NAME to be portable 2012-01-08 13:44:20 +02:00
types.h Add byteswapping macros 2010-05-19 16:02:40 +02:00
vd_agent.h vd_agent.h: add a VD_AGENT_CAP_SPARSE_MONITORS_CONFIG capability (rhbz#881072) 2013-01-18 11:53:00 +01:00
vdi_dev.h Always include using <spice/foo.h> style 2010-02-04 16:47:23 +01:00