- Timestamp:
- Feb 27, 2015 8:30:57 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54178 r54566 57 57 UIFrameBuffer::UIFrameBuffer() 58 58 : m_iWidth(0), m_iHeight(0) 59 , m_fPendingSourceBitmap(false) 59 60 , m_pMachineView(NULL) 60 61 , m_iWinId(0) … … 277 278 /* Acquire new pending bitmap: */ 278 279 m_pendingSourceBitmap = sourceBitmap; 280 m_fPendingSourceBitmap = true; 279 281 } 280 282 … … 587 589 588 590 /* If there is NO pending source-bitmap: */ 589 if (!vboxGlobal().isSeparateProcess() && m_pendingSourceBitmap.isNull())591 if (!vboxGlobal().isSeparateProcess() && !m_fPendingSourceBitmap) 590 592 { 591 593 /* Do nothing, change-event already processed: */ … … 600 602 m_sourceBitmap = m_pendingSourceBitmap; 601 603 m_pendingSourceBitmap = 0; 604 m_fPendingSourceBitmap = false; 602 605 603 606 /* Unlock access to frame-buffer: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r54178 r54566 284 284 /** Source bitmap from IDisplay (acquired but not yet applied). */ 285 285 CDisplaySourceBitmap m_pendingSourceBitmap; 286 /** There is a pending source bitmap which must be applied. */ 287 bool m_fPendingSourceBitmap; 286 288 287 289 /** Holds machine-view this frame-buffer is bounded to. */
Note:
See TracChangeset
for help on using the changeset viewer.