Re: [Spice-devel] [PATCH linux vdagent v4 5/9] Factor a function out of get_current_mon_config()

2019-01-18 Thread Lukáš Hrázký
On Thu, 2019-01-17 at 16:14 -0600, Jonathon Jongsma wrote: > When sending the guest xorg resolution to the vdagentd daemon, we get > the current resolution with this function, which returns a > VDAgentMonitorsConfig structure that must then be converted to the > structure that we send to the

[Spice-devel] [PATCH linux vdagent v4 5/9] Factor a function out of get_current_mon_config()

2019-01-17 Thread Jonathon Jongsma
When sending the guest xorg resolution to the vdagentd daemon, we get the current resolution with this function, which returns a VDAgentMonitorsConfig structure that must then be converted to the structure that we send to the daemon. Rather than re-using this function that returns the wrong type,