mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTUSER] Initialize correctly CaretWidth value. (#4297) CORE-13984 CORE-14359 CORE-16624
Fixes: CORE-13984 LibreOffice Writer shows no blinking caret CORE-14359 Apache Open Office 4.1.2 SWriter - no blinking Caret CORE-16624 KVIRC, no blinking caret in configuration edit controls
This commit is contained in:
parent
e105aefc1c
commit
292e6a429f
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,7 @@ static const WCHAR* VAL_SCRLLLINES = L"WheelScrollLines";
|
|||
static const WCHAR* VAL_CLICKLOCKTIME = L"ClickLockTime";
|
||||
static const WCHAR* VAL_PAINTDESKVER = L"PaintDesktopVersion";
|
||||
static const WCHAR* VAL_CARETRATE = L"CursorBlinkRate";
|
||||
static const WCHAR* VAL_CARETWIDTH = L"CaretWidth";
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
static const WCHAR* VAL_SCRLLCHARS = L"WheelScrollChars";
|
||||
#endif
|
||||
|
@ -288,6 +289,7 @@ SpiUpdatePerUserSystemParameters(VOID)
|
|||
gspv.iWheelScrollLines = SpiLoadInt(KEY_DESKTOP, VAL_SCRLLLINES, 3);
|
||||
gspv.dwMouseClickLockTime = SpiLoadDWord(KEY_DESKTOP, VAL_CLICKLOCKTIME, 1200);
|
||||
gpsi->dtCaretBlink = SpiLoadInt(KEY_DESKTOP, VAL_CARETRATE, 530);
|
||||
gspv.dwCaretWidth = SpiLoadDWord(KEY_DESKTOP, VAL_CARETWIDTH, 1);
|
||||
gspv.dwUserPrefMask = SpiLoadUserPrefMask(UPM_DEFAULT);
|
||||
gspv.bMouseClickLock = (gspv.dwUserPrefMask & UPM_CLICKLOCK) != 0;
|
||||
gspv.bMouseCursorShadow = (gspv.dwUserPrefMask & UPM_CURSORSHADOW) != 0;
|
||||
|
|
Loading…
Reference in a new issue