VirtualBox

Changeset 2206 in vbox for trunk/src


Ignore:
Timestamp:
Apr 19, 2007 9:21:32 AM (18 years ago)
Author:
vboxsync
Message:

Repaint display when the resize is completed (second try).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r2200 r2206  
    250250     */
    251251    bool f = ASMAtomicCmpXchgU32 (&mu32ResizeStatus, ResizeStatus_InProgress, ResizeStatus_Void);
    252     AssertRelease(f);NOREF(f);
     252    AssertReleaseMsg(f, ("f = %d\n", f));NOREF(f);
    253253
    254254    /* The framebuffer is locked in the state.
     
    301301        /* Unlock framebuffer. */
    302302        mFramebuffer->Unlock();
    303 
    304         /* Repaint the display. */
    305         mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort);
    306303    }
    307304
     
    325322    bool f = ASMAtomicCmpXchgU32 (&mu32ResizeStatus, ResizeStatus_Void, ResizeStatus_UpdateDisplayData);
    326323    AssertRelease(f);NOREF(f);
     324
     325    /* Repaint the display. This could lead to a new call to handleDisplayResize, so do this after the status change. */
     326    mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort);
    327327}
    328328
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