VirtualBox

Changeset 53236 in vbox


Ignore:
Timestamp:
Nov 5, 2014 1:20:07 PM (10 years ago)
Author:
vboxsync
Message:

Fe/Qt/3D: fix X11 3D overlay reparenting issue (#7547).

File:
1 edited

Legend:

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

    r52978 r53236  
    4949#endif /* !Q_WS_WIN */
    5050
     51#ifdef Q_WS_X11
     52# include <QX11Info>
     53# include <X11/Xlib.h>
     54#endif /* Q_WS_X11 */
     55
    5156UIFrameBuffer::UIFrameBuffer()
    5257    : m_iWidth(0), m_iHeight(0)
     
    119124    /* Recache window ID: */
    120125    m_iWinId = (m_pMachineView && m_pMachineView->viewport()) ? (LONG64)m_pMachineView->viewport()->winId() : 0;
     126
     127#ifdef Q_WS_X11
     128    /* Sync Qt and X11 Server. Notify server about newly
     129     * created winId (see xTracker #7547). */
     130    XSync(QX11Info::display(), false);
     131#endif
    121132
    122133    /* Connect new handlers: */
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