Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp	(revision 54013)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp	(revision 54014)
@@ -622,4 +622,7 @@
     viewport()->setMouseTracking(true);
 
+    /* We have to watch for own events too: */
+    installEventFilter(this);
+
     /* QScrollView does the below on its own, but let's
      * do it anyway for the case it will not do it in the future: */
@@ -1181,4 +1184,24 @@
         }
     }
+
+    if (pWatched == this)
+    {
+        switch (pEvent->type())
+        {
+            case QEvent::Move:
+            {
+                /* In some cases viewport resize-events can provoke the
+                 * machine-view position changes inside the machine-window.
+                 * We have to notify interested listeners like 3D service. */
+                display().ViewportChanged(screenId(),
+                                          contentsX(), contentsY(),
+                                          visibleWidth(), visibleHeight());
+                break;
+            }
+            default:
+                break;
+        }
+    }
+
     if (pWatched == machineWindow())
     {
