• Jonathon Jongsma's avatar
    Factor a function out of get_current_mon_config() · 254b5472
    Jonathon Jongsma authored
    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, factor out most of the functionality into a
    separate function. This function can be used by a new function to return
    a type appropriate for sending the xorg resolution to the daemon.
    
    This is necessary because in the next few commits I'll be changing the
    vdagentd protocol to send an additional display_id parameter to the
    daemon.
    Acked-by: Lukáš Hrázký's avatarLukáš Hrázký <lhrazky@redhat.com>
    Signed-off-by: default avatarJonathon Jongsma <jjongsma@redhat.com>
    254b5472
Name
Last commit
Last update
data Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...