Index: /trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk	(revision 35303)
+++ /trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk	(revision 35304)
@@ -25,6 +25,4 @@
 endif
 VBoxTray_DEFS     = VBOX_WITH_HGCM LOG_TO_BACKDOOR
-#temporary define
-VBoxTray_DEFS    += MMSEAMLESS
 VBoxTray_INCS     = ../include
 VBoxTray_SOURCES  = \
Index: /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp	(revision 35303)
+++ /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp	(revision 35304)
@@ -42,7 +42,4 @@
     HDC     hdc;
     HRGN    hrgn;
-#ifndef MMSEAMLESS
-    RECT    rect;
-#endif
 } VBOX_ENUM_PARAM, *PVBOX_ENUM_PARAM;
 
@@ -155,13 +152,8 @@
     Log(("VBoxTray: VBoxEnumFunc %x\n", hwnd));
     /* Only visible windows that are present on the desktop are interesting here */
-#ifndef MMSEAMLESS
-    if (    GetWindowRect(hwnd, &rectWindow)
-        &&  IntersectRect(&rectVisible, &lpParam->rect, &rectWindow))
-    {
-#else
     if (GetWindowRect(hwnd, &rectWindow))
     {
         rectVisible = rectWindow;
-#endif
+
         char szWindowText[256];
         szWindowText[0] = 0;
@@ -223,8 +215,4 @@
     param.hrgn      = 0;
 
-#ifndef MMSEAMLESS
-    GetWindowRect(GetDesktopWindow(), &param.rect);
-    Log(("VBoxTray: VBoxRecheckVisibleWindows desktop=%x rect (%d,%d) (%d,%d)\n", GetDesktopWindow(), param.rect.left, param.rect.top, param.rect.right, param.rect.bottom));
-#endif
     EnumWindows(VBoxEnumFunc, (LPARAM)&param);
 
Index: /trunk/src/VBox/Main/DisplayImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/DisplayImpl.cpp	(revision 35303)
+++ /trunk/src/VBox/Main/DisplayImpl.cpp	(revision 35304)
@@ -977,5 +977,4 @@
 }
 
-#ifdef MMSEAMLESS
 static bool displayIntersectRect(RTRECT *prectResult,
                                  const RTRECT *prect1,
@@ -1106,5 +1105,4 @@
     return VERR_NOT_SUPPORTED;
 }
-#endif
 
 typedef struct _VBVADIRTYREGION
Index: /trunk/src/VBox/Main/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Main/Makefile.kmk	(revision 35303)
+++ /trunk/src/VBox/Main/Makefile.kmk	(revision 35304)
@@ -593,7 +593,4 @@
 VBoxC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
 
-#temporary define
-VBoxC_DEFS += MMSEAMLESS
-
 VBoxC_INCS          = \
 	include \
Index: /trunk/src/VBox/Main/VMMDevInterface.cpp
===================================================================
--- /trunk/src/VBox/Main/VMMDevInterface.cpp	(revision 35303)
+++ /trunk/src/VBox/Main/VMMDevInterface.cpp	(revision 35304)
@@ -466,35 +466,7 @@
     if (!cRect)
         return VERR_INVALID_PARAMETER;
-#ifdef MMSEAMLESS
+
     /* Forward to Display, which calls corresponding framebuffers. */
     pConsole->getDisplay()->handleSetVisibleRegion(cRect, pRect);
-#else
-    IFramebuffer *framebuffer = pConsole->getDisplay()->getFramebuffer();
-    if (framebuffer)
-    {
-        framebuffer->SetVisibleRegion((BYTE *)pRect, cRect);
-#if defined(RT_OS_DARWIN) && defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
-        {
-            BOOL is3denabled;
-
-            pConsole->machine()->COMGETTER(Accelerate3DEnabled)(&is3denabled);
-
-            if (is3denabled)
-            {
-                VBOXHGCMSVCPARM parms[2];
-
-                parms[0].type = VBOX_HGCM_SVC_PARM_PTR;
-                parms[0].u.pointer.addr = pRect;
-                parms[0].u.pointer.size = 0;  /* We don't actually care. */
-                parms[1].type = VBOX_HGCM_SVC_PARM_32BIT;
-                parms[1].u.uint32 = cRect;
-
-                if (pDrv->pVMMDev)
-                    return pDrv->pVMMDev->hgcmHostCall("VBoxSharedCrOpenGL", SHCRGL_HOST_FN_SET_VISIBLE_REGION, 2, &parms[0]);
-            }
-        }
-#endif
-    }
-#endif
 
     return VINF_SUCCESS;
@@ -506,17 +478,6 @@
     Console *pConsole = pDrv->pVMMDev->getParent();
 
-#ifdef MMSEAMLESS
     /* Forward to Display, which calls corresponding framebuffers. */
     pConsole->getDisplay()->handleQueryVisibleRegion(pcRect, pRect);
-#else
-    IFramebuffer *framebuffer = pConsole->getDisplay()->getFramebuffer();
-    if (framebuffer)
-    {
-        ULONG cRect = 0;
-        framebuffer->GetVisibleRegion((BYTE *)pRect, cRect, &cRect);
-
-        *pcRect = cRect;
-    }
-#endif
 
     return VINF_SUCCESS;
Index: /trunk/src/VBox/Main/include/DisplayImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/DisplayImpl.h	(revision 35303)
+++ /trunk/src/VBox/Main/include/DisplayImpl.h	(revision 35304)
@@ -145,8 +145,7 @@
     void getFramebufferDimensions(int32_t *px1, int32_t *py1, int32_t *px2,
                                   int32_t *py2);
-#ifdef MMSEAMLESS
+
     int handleSetVisibleRegion(uint32_t cRect, PRTRECT pRect);
     int handleQueryVisibleRegion(uint32_t *pcRect, PRTRECT pRect);
-#endif
 
     int VideoAccelEnable (bool fEnable, VBVAMEMORY *pVbvaMemory);
