VirtualBox

Changeset 64611 in vbox for trunk


Ignore:
Timestamp:
Nov 9, 2016 11:59:46 AM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8653: Fixing Unscaled HiDPI Output: Adjust mouse cursor hot point location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r64604 r64611  
    19351935    /* Adjust backing-scale-factor if necessary: */
    19361936    if (dBackingScaleFactor > 1.0 && frameBuffer(uScreenID)->useUnscaledHiDPIOutput())
     1937    {
     1938        uXHot /= dBackingScaleFactor;
     1939        uYHot /= dBackingScaleFactor;
    19371940        cursorPixmap.setDevicePixelRatio(dBackingScaleFactor);
     1941    }
    19381942#  endif /* VBOX_GUI_WITH_HIDPI */
    19391943# endif /* VBOX_WS_MAC */
Note: See TracChangeset for help on using the changeset viewer.

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