From 3c5e9fd0c0c83308a175c65d65afa3b4c6a773cb Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 7 Jul 2007 21:09:15 +0000 Subject: [PATCH] move some value to right place into the text FIXME load from register svn path=/trunk/; revision=27457 --- reactos/subsystems/win32/win32k/ntuser/winsta.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/winsta.c b/reactos/subsystems/win32/win32k/ntuser/winsta.c index 16f7b0a2b95..273fe3c76e0 100644 --- a/reactos/subsystems/win32/win32k/ntuser/winsta.c +++ b/reactos/subsystems/win32/win32k/ntuser/winsta.c @@ -498,8 +498,9 @@ NtUserCreateWindowStation( /* * Initialize the new window station object */ + WindowStationObject->ScreenSaverRunning = FALSE; - WindowStationObject->ScreenSaverTimeOut = 10 * 60; + WindowStationObject->FlatMenu = FALSE; if(!(CurInfo = ExAllocatePool(PagedPool, sizeof(SYSTEM_CURSORINFO)))) @@ -516,12 +517,12 @@ NtUserCreateWindowStation( CurInfo->CursorClipInfo.IsClipped = FALSE; CurInfo->LastBtnDown = 0; CurInfo->CurrentCursorObject = NULL; - CurInfo->ShowingCursor = 0; - - CurInfo->WheelScroLines = 3; - CurInfo->WheelScroChars = 3; + CurInfo->ShowingCursor = 0; /* FIXME: Obtain the following information from the registry */ + + CurInfo->WheelScroLines = 3; + CurInfo->WheelScroChars = 3; CurInfo->SwapButtons = FALSE; CurInfo->DblClickSpeed = 500; CurInfo->DblClickWidth = 4; @@ -536,8 +537,11 @@ NtUserCreateWindowStation( CurInfo->MouseHoverWidth = 4; CurInfo->MouseHoverHeight = 4; + WindowStationObject->ScreenSaverTimeOut = 10 * 60; WindowStationObject->SystemCursor = CurInfo; + /* END FIXME loading from register */ + if (!IntSetupClipboard(WindowStationObject)) { DPRINT1("WindowStation: Error Setting up the clipboard!!!\n");