Changeset 78016 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 4, 2019 1:28:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r77937 r78016 1304 1304 * framebuffer cursor if mouse integration is supported and enabled. */ 1305 1305 if ( m_pMachineView 1306 && !m_pMachineView->uisession()->isHidingHostPointer() 1306 1307 && m_pMachineView->uisession()->isValidPointerShapePresent() 1307 1308 && m_pMachineView->uisession()->isValidCursorPositionPresent() … … 1339 1340 /* Remember current cursor rectangle: */ 1340 1341 m_cursorRectangle = cursorRectangle; 1342 } 1343 /* Don't forget to clear the rectangle in opposite case: */ 1344 else if ( m_pMachineView 1345 && m_cursorRectangle.isValid()) 1346 { 1347 /* Call for a viewport update: */ 1348 m_pMachineView->viewport()->update(m_cursorRectangle); 1349 /* And erase the rectangle after all: */ 1350 m_cursorRectangle = QRect(); 1341 1351 } 1342 1352 } … … 1471 1481 * Also, please take into account, we are not currently painting 1472 1482 * framebuffer cursor if mouse integration is supported and enabled. */ 1473 if ( m_pMachineView->uisession()->isValidPointerShapePresent() 1483 if ( !m_pMachineView->uisession()->isHidingHostPointer() 1484 && m_pMachineView->uisession()->isValidPointerShapePresent() 1474 1485 && m_pMachineView->uisession()->isValidCursorPositionPresent() 1475 1486 && ( !m_pMachineView->uisession()->isMouseIntegrated() … … 1579 1590 * Also, please take into account, we are not currently painting 1580 1591 * framebuffer cursor if mouse integration is supported and enabled. */ 1581 if ( m_pMachineView->uisession()->isValidPointerShapePresent() 1592 if ( !m_pMachineView->uisession()->isHidingHostPointer() 1593 && m_pMachineView->uisession()->isValidPointerShapePresent() 1582 1594 && m_pMachineView->uisession()->isValidCursorPositionPresent() 1583 1595 && ( !m_pMachineView->uisession()->isMouseIntegrated()
Note:
See TracChangeset
for help on using the changeset viewer.