VirtualBox

Ticket #14151: 0001-assign-value-to-mmHeight-not-height.patch

File 0001-assign-value-to-mmHeight-not-height.patch, 1.1 KB (added by Christian Hesse, 9 years ago)

assign value to mmHeight, not height

  • src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    From 1ce03d2e2c9d4ab0b878564c474e025e48d6730d Mon Sep 17 00:00:00 2001
    From: Christian Hesse <mail@eworm.de>
    Date: Mon, 8 Jun 2015 15:04:14 +0200
    Subject: [PATCH 1/1] assign value to mmHeight, not height
    
    Signed-off-by: Christian Hesse <mail@eworm.de>
    ---
     src/VBox/Additions/x11/vboxvideo/vboxvideo.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/VBox/Additions/x11/vboxvideo/vboxvideo.c b/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
    index 9017672..1c5a9d5 100644
    a b static void setVirtualSizeRandR12(ScrnInfoPtr pScrn, bool fScreenInitTime)  
    10731073            xf86ScrnToScreen(pScrn)->width = cx;
    10741074            xf86ScrnToScreen(pScrn)->height = cy;
    10751075            xf86ScrnToScreen(pScrn)->mmWidth = cx * 254 / 960;
    1076             xf86ScrnToScreen(pScrn)->height = cy * 254 / 960;
     1076            xf86ScrnToScreen(pScrn)->mmHeight = cy * 254 / 960;
    10771077            adjustScreenPixmap(pScrn, cx, cy);
    10781078            vbvxSetSolarisMouseRange(cx, cy);
    10791079        }

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy