VirtualBox

Ignore:
Timestamp:
Apr 29, 2008 4:47:05 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30346
Message:

Frontends/VirtualBox3/4: do not send resize hints when the guest does not have the graphics capability

File:
1 edited

Legend:

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

    r8456 r8477  
    22352235void VBoxConsoleWnd::setViewInSeamlessMode (const QRect &aTargetRect)
    22362236{
     2237        LogFlowThisFunc(("mIsSeamless=%s\n", mIsSeamless ? "true" : "false"));
    22372238    if (mIsSeamless)
    22382239    {
     
    22612262                                           QSizePolicy::Preferred, QSizePolicy::Fixed);
    22622263    }
     2264    LogFlowFuncLeave();
    22632265}
    22642266
     
    26602662void VBoxConsoleWnd::setMask (const QRegion &aRegion)
    26612663{
     2664        LogFlowFuncEnter();
    26622665    QRegion region = aRegion;
    26632666    /* The global mask shift cause of toolbars and such things. */
     
    27312734    QMainWindow::setMask (region);
    27322735#endif
     2736        LogFlowFuncLeave();
    27332737}
    27342738
     
    32503254            }
    32513255        }
     3256        /* Disable auto-resizing if advanced graphics are not available */
     3257        console->setAutoresizeGuest (   mIsGraphicsSupported
     3258                                     && vmAutoresizeGuestAction->isOn());
     3259        vmAutoresizeGuestAction->setEnabled (mIsGraphicsSupported);
    32523260    }
    32533261
Note: See TracChangeset for help on using the changeset viewer.

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