]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Add a new SetDisplayScaling RPC to the list of capabilities.
authorVMware, Inc <>
Wed, 18 Sep 2013 03:37:35 +0000 (20:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:26:42 +0000 (22:26 -0700)
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/vmware/guestrpc/capabilities.h

index 98dae47dfa6d0dc295c258c74d3716f649072bea..07f4d89bcb3c9225fc8aeed5cf59821f433c65af 100644 (file)
@@ -73,6 +73,7 @@ typedef enum {
    HGFSU_CAP_MIRROR_DOWNLOADS           = 28, // supports remapping GOS Downloads to HGFS
    HGFSU_CAP_MIRROR_MOVIES              = 29, // supports remapping GOS Movies to HGFS
    GHI_CAP_TOGGLE_START_UI              = 30, // supports showing/hiding the Start UI
+   GHI_CAP_SET_DISPLAY_SCALING          = 31, // supports setting the display scaling (DPI)
 } GuestCapabilities;
 
 typedef struct {
@@ -145,6 +146,7 @@ static GuestCapElem guestCapTable[] = {
    { HGFSU_CAP_MIRROR_DOWNLOADS,           HGFSU_CAP_VMDB_PATH, "mirrorDownloads" },
    { HGFSU_CAP_MIRROR_MOVIES,              HGFSU_CAP_VMDB_PATH, "mirrorMovies" },
    { GHI_CAP_TOGGLE_START_UI,              GHI_CAP_VMDB_PATH,   "toggleStartUI"},
+   { GHI_CAP_SET_DISPLAY_SCALING,          GHI_CAP_VMDB_PATH,   "setDisplayScaling"},
 };
 
 #endif // VM_NEED_VMDB_GUEST_CAP_MAPPING