Fixed rails set_caretwidth
This commit is contained in:
parent
2cc714a57d
commit
a2834ae233
@ -421,7 +421,10 @@ UINT rail_write_client_sysparam_order(railPlugin* rail, wStream* s,
|
||||
if ((rail->channelFlags & TS_RAIL_ORDER_HANDSHAKE_EX_FLAGS_EXTENDED_SPI_SUPPORTED) == 0)
|
||||
return ERROR_INVALID_DATA;
|
||||
|
||||
error = rail_write_high_contrast(s, &sysparam->caretWidth);
|
||||
if (sysparam->caretWidth < 0x0001)
|
||||
return ERROR_INVALID_DATA;
|
||||
|
||||
Stream_Write_UINT32(s, sysparam->caretWidth);
|
||||
break;
|
||||
|
||||
case SPI_SETSTICKYKEYS:
|
||||
|
@ -318,7 +318,7 @@ struct _RAIL_SYSPARAM_ORDER
|
||||
RECTANGLE_16 displayChange;
|
||||
RECTANGLE_16 taskbarPos;
|
||||
RAIL_HIGH_CONTRAST highContrast;
|
||||
RAIL_HIGH_CONTRAST caretWidth;
|
||||
UINT32 caretWidth;
|
||||
UINT32 stickyKeys;
|
||||
UINT32 toggleKeys;
|
||||
TS_FILTERKEYS filterKeys;
|
||||
|
Loading…
Reference in New Issue
Block a user