diff options
author | Gerd Hoffmann <[email protected]> | 2017-03-01 11:12:34 +0100 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2017-03-07 07:09:17 +0100 |
commit | 2d856f94e6d253225cc68beaaf942dc0ea7772cb (patch) | |
tree | bbf74e0ef87f8cac4fee04be3d1100e797d37603 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c50fad8f62d1a6fe0083fa2c700e5e7bfc7dea0c (diff) |
qxl: fix qxl_conn_get_modes
Call qxl_add_monitors_config_modes() unconditionally. Do all sanity
checks in that function.
Fix sanity checks. monitors_config is the current monitor
configuration, whereas client_monitors_config is the configuration
requested by the spice client. So when filling the mode list, based on
the spice client request, we need to look at
client_monitors_config->count not monitors_config->count.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions