VirtualBox

Changeset 8363 in vbox


Ignore:
Timestamp:
Apr 24, 2008 2:12:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30148
Message:

Frontends/VirtualBox3/4: check the available geometry, not the screen geometry when going into fullscreen mode

Location:
trunk/src/VBox/Frontends
Files:
2 edited

Legend:

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

    r8362 r8363  
    19601960    {
    19611961        /* Check if the Guest Video RAM enough for the seamless mode. */
    1962         QRect screen = QApplication::desktop()->screenGeometry (this);
     1962        QRect screen = QApplication::desktop()->availableGeometry (this);
    19631963        ULONG64 availBits = csession.GetMachine().GetVRAMSize() /* vram */
    19641964                          * _1M /* mb to bytes */
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r8362 r8363  
    19831983    {
    19841984        /* Check if the Guest Video RAM enough for the seamless mode. */
    1985         QRect screen = QApplication::desktop()->screenGeometry (this);
     1985        QRect screen = QApplication::desktop()->availableGeometry (this);
    19861986        ULONG64 availBits = csession.GetMachine().GetVRAMSize() /* vram */
    19871987                          * _1M /* mb to bytes */
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