VirtualBox

Changeset 9044 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 21, 2008 9:47:07 PM (17 years ago)
Author:
vboxsync
Message:

attempt to fix mouse grabbing with the compiz window manager

File:
1 edited

Legend:

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

    r9036 r9044  
    24882488                            captureKbd (!captured, false);
    24892489                            if (!(mMouseAbsolute && mMouseIntegration))
     2490                            {
     2491                                /* make sure that pending FocusOut events from the
     2492                                 * previous message box are handled, otherwise the
     2493                                 * mouse is immediately ungrabbed. */
     2494                                qApp->processEvents();
    24902495                                captureMouse (mKbdCaptured);
     2496                            }
    24912497                        }
    24922498                    }
     
    28342840                    if (ok)
    28352841                    {
     2842                        /* make sure that pending FocusOut events from the
     2843                         * previous message box are handled, otherwise the
     2844                         * mouse is immediately ungrabbed again */
     2845                        qApp->processEvents();
    28362846                        captureKbd (true);
    28372847                        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