Author: fireball Date: Wed Jul 29 17:44:37 2009 New Revision: 42290
URL: http://svn.reactos.org/svn/reactos?rev=42290&view=rev Log: - Silence RealizeDefaultPalette call. - Remove some testing code from userdrv, and silence tracing debug prints there too.
Modified: branches/arwinss/reactos/dll/win32/winent.drv/gdidrv.c branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c
Modified: branches/arwinss/reactos/dll/win32/winent.drv/gdidrv.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/winent... ============================================================================== --- branches/arwinss/reactos/dll/win32/winent.drv/gdidrv.c [iso-8859-1] (original) +++ branches/arwinss/reactos/dll/win32/winent.drv/gdidrv.c [iso-8859-1] Wed Jul 29 17:44:37 2009 @@ -424,7 +424,7 @@
UINT CDECL RosDrv_RealizeDefaultPalette( NTDRV_PDEVICE *physDev ) { - UNIMPLEMENTED; + //UNIMPLEMENTED; return FALSE; }
Modified: branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/winent... ============================================================================== --- branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c [iso-8859-1] (original) +++ branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c [iso-8859-1] Wed Jul 29 17:44:37 2009 @@ -494,13 +494,7 @@ if (offset == GWL_STYLE && (changed & WS_VISIBLE) && (style->styleNew & WS_VISIBLE)) { /* Do some magic... */ - ERR("Window %x is being made visible\n", hwnd); - GetWindowRect(hwnd, &rcWnd); - GetClientRect(hwnd, &rcClient); - //x=rcWnd.left;y=rcWnd.top;cx=rcWnd.right-rcWnd.left;cy=rcWnd.bottom-rcWnd.top; - x=0;y=0;cx=300;cy=300; - //ERR("x %d, y %d, cx %d, cy %d\n", x, y, cx, cy); - //SetWindowPos( hwnd, 0, x+1, y+1, cx, cy, SWP_NOACTIVATE | SWP_NOZORDER ); + TRACE("Window %x is being made visible\n", hwnd); }
if (offset == GWL_STYLE && (changed & WS_DISABLED)) @@ -586,7 +580,7 @@
if (valid_rects) { - ERR("valid_rects[0] (%d, %d)-(%d,%d)\n", + TRACE("valid_rects[0] (%d, %d)-(%d,%d)\n", valid_rects[0].top, valid_rects[0].left, valid_rects[0].bottom, valid_rects[0].right); } #if 0