move some value to right place into the text FIXME load from register

svn path=/trunk/; revision=27457
This commit is contained in:
Magnus Olsen 2007-07-07 21:09:15 +00:00
parent 016296a635
commit 3c5e9fd0c0

View file

@ -498,8 +498,9 @@ NtUserCreateWindowStation(
/* /*
* Initialize the new window station object * Initialize the new window station object
*/ */
WindowStationObject->ScreenSaverRunning = FALSE; WindowStationObject->ScreenSaverRunning = FALSE;
WindowStationObject->ScreenSaverTimeOut = 10 * 60;
WindowStationObject->FlatMenu = FALSE; WindowStationObject->FlatMenu = FALSE;
if(!(CurInfo = ExAllocatePool(PagedPool, sizeof(SYSTEM_CURSORINFO)))) if(!(CurInfo = ExAllocatePool(PagedPool, sizeof(SYSTEM_CURSORINFO))))
@ -516,12 +517,12 @@ NtUserCreateWindowStation(
CurInfo->CursorClipInfo.IsClipped = FALSE; CurInfo->CursorClipInfo.IsClipped = FALSE;
CurInfo->LastBtnDown = 0; CurInfo->LastBtnDown = 0;
CurInfo->CurrentCursorObject = NULL; CurInfo->CurrentCursorObject = NULL;
CurInfo->ShowingCursor = 0; CurInfo->ShowingCursor = 0;
CurInfo->WheelScroLines = 3;
CurInfo->WheelScroChars = 3;
/* FIXME: Obtain the following information from the registry */ /* FIXME: Obtain the following information from the registry */
CurInfo->WheelScroLines = 3;
CurInfo->WheelScroChars = 3;
CurInfo->SwapButtons = FALSE; CurInfo->SwapButtons = FALSE;
CurInfo->DblClickSpeed = 500; CurInfo->DblClickSpeed = 500;
CurInfo->DblClickWidth = 4; CurInfo->DblClickWidth = 4;
@ -536,8 +537,11 @@ NtUserCreateWindowStation(
CurInfo->MouseHoverWidth = 4; CurInfo->MouseHoverWidth = 4;
CurInfo->MouseHoverHeight = 4; CurInfo->MouseHoverHeight = 4;
WindowStationObject->ScreenSaverTimeOut = 10 * 60;
WindowStationObject->SystemCursor = CurInfo; WindowStationObject->SystemCursor = CurInfo;
/* END FIXME loading from register */
if (!IntSetupClipboard(WindowStationObject)) if (!IntSetupClipboard(WindowStationObject))
{ {
DPRINT1("WindowStation: Error Setting up the clipboard!!!\n"); DPRINT1("WindowStation: Error Setting up the clipboard!!!\n");