Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp	(revision 29987)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp	(revision 29988)
@@ -1082,5 +1082,13 @@
                 /* Check if we should activate window under cursor: */
                 if (machineWindowWrapper()->machineWindow() != QApplication::activeWindow())
+                {
+                    /* Activating hovered machine window: */
                     machineWindowWrapper()->machineWindow()->activateWindow();
+#ifdef Q_WS_X11
+                    /* On X11 its not enough to just activate window if you
+                     * want to raise it also, so we will make it separately: */
+                    machineWindowWrapper()->machineWindow()->raise();
+#endif /* Q_WS_X11 */
+                }
 
                 /* This event should be also processed using next 'case': */
