VirtualBox

Changeset 106621 in vbox


Ignore:
Timestamp:
Oct 23, 2024 12:22:36 PM (5 weeks ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10407. In UIFrameBuffer, get the winId of the main window rather than child.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r106349 r106621  
    453453    m_uScreenId = m_pMachineView ? m_pMachineView->screenId() : 0;
    454454    /* Recache window ID: */
    455     m_iWinId = (m_pMachineView && m_pMachineView->viewport()) ? (LONG64)m_pMachineView->viewport()->winId() : 0;
    456 
     455    m_iWinId = (m_pMachineView && m_pMachineView->machineWindow()) ? (LONG64)m_pMachineView->machineWindow()->winId() : 0;
    457456#ifdef VBOX_WS_NIX
    458457    if (NativeWindowSubsystem::displayServerType() == VBGHDISPLAYSERVERTYPE_X11)
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