Author: fireball Date: Sun Apr 18 10:15:55 2010 New Revision: 46914
URL: http://svn.reactos.org/svn/reactos?rev=46914&view=rev Log: - Get rid of the last hardcoded screen size. - Remove unnecessary function declaration. See issue #5304 for more details.
Modified: branches/arwinss/reactos/subsystems/win32/csrss/win32csr/desktopbg.c branches/arwinss/reactos/subsystems/win32/win32k/main/init.c
Modified: branches/arwinss/reactos/subsystems/win32/csrss/win32csr/desktopbg.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/csrss/win32csr/desktopbg.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/csrss/win32csr/desktopbg.c [iso-8859-1] Sun Apr 18 10:15:55 2010 @@ -274,8 +274,8 @@ nmh.hdr.idFrom = 0; nmh.hdr.code = PM_SHOW_DESKTOP;
- nmh.ShowDesktop.Width = 800; - nmh.ShowDesktop.Height = 600; + nmh.ShowDesktop.Width = GetSystemMetrics(SM_CXVIRTUALSCREEN); + nmh.ShowDesktop.Height = GetSystemMetrics(SM_CYVIRTUALSCREEN);
SendMessageW(BackgroundWnd, WM_NOTIFY,
Modified: branches/arwinss/reactos/subsystems/win32/win32k/main/init.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/win32k/main/init.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/win32k/main/init.c [iso-8859-1] Sun Apr 18 10:15:55 2010 @@ -21,7 +21,6 @@ #include <debug.h>
void init_directories(void); -BOOL FASTCALL IntCreatePrimarySurface(); NTSTATUS FASTCALL InitDcImpl(VOID);
/* GLOBALS *******************************************************************/