VirtualBox

Changeset 280 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 24, 2007 4:06:55 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17825
Message:

Reset the resize event in proper place. Also in the VBoxBFE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r238 r280  
    135135
    136136    mFramebuffer->Lock();
     137
     138    /* Reset the event here. It could be signalled before it gets to after 'if (!finished)' */
     139    RTSemEventMultiReset(mResizeSem);
     140
    137141    mFramebuffer->RequestResize(w, h, &finished);
    138142
     
    148152        // the framebuffer needs more time to process
    149153        // the event so we have to halt the VM until it's done
    150         RTSemEventMultiReset(mResizeSem);
    151154        RTSemEventMultiWait(mResizeSem, RT_INDEFINITE_WAIT);
    152155    }
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