VirtualBox

Changeset 9058 in vbox for trunk


Ignore:
Timestamp:
May 22, 2008 2:42:26 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Backported:

  • r31136 (attempt to fix mouse grabbing with the compiz window manager)
  • r31137 (X11 only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r9053 r9058  
    25432543                            captureKbd (!captured, false);
    25442544                            if (!(mMouseAbsolute && mMouseIntegration))
     2545                            {
     2546#ifdef Q_WS_X11
     2547                                /* make sure that pending FocusOut events from the
     2548                                 * previous message box are handled, otherwise the
     2549                                 * mouse is immediately ungrabbed. */
     2550                                qApp->processEvents();
     2551#endif
    25452552                                captureMouse (mKbdCaptured);
     2553                            }
    25462554                        }
    25472555                    }
     
    28892897                    if (ok)
    28902898                    {
     2899#ifdef Q_WS_X11
     2900                        /* make sure that pending FocusOut events from the
     2901                         * previous message box are handled, otherwise the
     2902                         * mouse is immediately ungrabbed again */
     2903                        qApp->processEvents();
     2904#endif
    28912905                        captureKbd (true);
    28922906                        captureMouse (true);
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