Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h	(revision 27454)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h	(revision 27455)
@@ -280,5 +280,4 @@
         : QEventLoop(0)
         , m_iTimerId(0)
-        , m_fReallyQuit(false)
     {
         /* Also start timer to unlock pool in case of
@@ -291,14 +290,4 @@
         /* Kill the timer: */
         killTimer(m_iTimerId);
-    }
-
-public slots:
-
-    void quit()
-    {
-        if (m_fReallyQuit)
-            QEventLoop::quit();
-        else
-            m_fReallyQuit = true;
     }
 
@@ -315,5 +304,4 @@
 
     int m_iTimerId;
-    bool m_fReallyQuit;
 };
 
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp	(revision 27454)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp	(revision 27455)
@@ -170,7 +170,6 @@
 
         case VBoxDefs::ResizeEventType:
-        case VBoxDefs::RepaintEventType:
-        {
-            /* Unlock on guest resize & repaint events: */
+        {
+            /* Unlock after processing guest resize event: */
             bool fResult = UIMachineView::event(pEvent);
             if (m_pSyncBlocker && m_pSyncBlocker->isRunning())
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp	(revision 27454)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp	(revision 27455)
@@ -182,12 +182,10 @@
 
         case VBoxDefs::ResizeEventType:
-        case VBoxDefs::RepaintEventType:
-        {
-            /* Unlock on guest resize & repaint events: */
+        {
+            /* Unlock after processing guest resize event: */
             bool fResult = UIMachineView::event(pEvent);
             if (m_pSyncBlocker && m_pSyncBlocker->isRunning())
                 m_pSyncBlocker->quit();
             return fResult;
-            break;
         }
 
