Author: fireball Date: Sun Aug 2 10:45:28 2009 New Revision: 42331
URL: http://svn.reactos.org/svn/reactos?rev=42331&view=rev Log: - Set drawable rect back to full screen size when releasing a DC.
Modified: branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c
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] Sun Aug 2 10:45:28 2009 @@ -552,8 +552,8 @@ escape.dc_rect.bottom = 0; escape.drawable_rect.left = 0; escape.drawable_rect.top = 0; - escape.drawable_rect.right = 0; - escape.drawable_rect.bottom = 0; + escape.drawable_rect.right = GetSystemMetrics(SM_CXVIRTUALSCREEN); + escape.drawable_rect.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
ExtEscape( hdc, NTDRV_ESCAPE, sizeof(escape), (LPSTR)&escape, 0, NULL ); }