VirtualBox

Changeset 24488 in vbox for trunk/src


Ignore:
Timestamp:
Nov 9, 2009 11:12:31 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: 3616: Guru meditation triggers VM window resize: Ignoring initial VGA resize request in case of GM.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h

    r24301 r24488  
    113113
    114114    void setIgnoreMainwndResize (bool aYes) { mIgnoreMainwndResize = aYes; }
     115    void setIgnoreGuestResize (bool aYes) { mIgnoreGuestResize = aYes; }
    115116
    116117    QRect desktopGeometry();
     
    293294    bool mAutoresizeGuest : 1;
    294295    bool mIgnoreFrameBufferResize : 1;
     296    bool mIgnoreGuestResize : 1;
    295297
    296298    /**
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp

    r24432 r24488  
    724724    , mAutoresizeGuest (false)
    725725    , mIgnoreFrameBufferResize (false)
     726    , mIgnoreGuestResize (false)
    726727    , mDoResize (false)
    727728    , mGuestSupportsGraphics (false)
     
    12591260            case VBoxDefs::ResizeEventType:
    12601261            {
     1262                /* Some situations require initial VGA Resize Request
     1263                 * to be ignored at all, leaving previous framebuffer,
     1264                 * console widget and vm window size preserved. */
     1265                if (mIgnoreGuestResize)
     1266                    return true;
     1267
    12611268                bool oldIgnoreMainwndResize = mIgnoreMainwndResize;
    12621269                mIgnoreMainwndResize = true;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r24471 r24488  
    25852585    if (guruMeditation)
    25862586    {
     2587        mConsole->setIgnoreGuestResize (true);
     2588
    25872589        CConsole console = mConsole->console();
    25882590        QString logFolder = console.GetMachine().GetLogFolder();
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