VirtualBox

Changeset 35867 in vbox


Ignore:
Timestamp:
Feb 7, 2011 12:51:10 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69872
Message:

FE/Qt: 5493: Fixing VBoxMiniToolBar X11 crash on seamless mode entering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMiniToolBar.cpp

    r35078 r35867  
    260260    if (pEvent->timerId() == m_scrollTimer.timerId())
    261261    {
     262        /* Due to X11 async nature, this timer-event could come before parent
     263         * VM window become visible, we should ignore those timer-events: */
     264        if (QApplication::desktop()->screenNumber(window()) == -1)
     265            return;
     266
     267        /* Update tool-bar position: */
    262268        QRect screen = m_fSeamless ? vboxGlobal().availableGeometry(QApplication::desktop()->screenNumber(window())) :
    263269                                     QApplication::desktop()->screenGeometry(window());
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