display-channel: monitors config debug: add head number

Enterprise / Virtualization / SPICE - Victor Toso [victortoso.com] - 11 March 2019 08:53 EDT

The difference is subtle but compared to what client receives, this could help identify values set to the wrong head, e.g:

First we received: | display-channel.c:180:monitors_config_debug: monitors config count:2 max:4 | display-channel.c:184:monitors_config_debug: +0+0 1015x805 | display-channel.c:184:monitors_config_debug: +1015+0 1024x740

And then: | display-channel.c:180:monitors_config_debug: monitors config count:3 max:4 | display-channel.c:184:monitors_config_debug: +0+0 1015x805 | display-channel.c:184:monitors_config_debug: +0+0 0x0 | display-channel.c:184:monitors_config_debug: +1015+0 1024x740

In the first debug it would be helpful to have "head 0" and "head 1", to point out the temporary error in monitor's config message.

679b63fe display-channel: monitors config debug: add head number
server/display-channel.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share