mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 16:05:37 +00:00
patch from Yaroslav Ponomarenko yarryp at gmail dot com
Implement so spi_ msg works now with swamp mouse buttun, but it seam our msg quare does not support it yet or must we send a msg from spi msg we change the mouse buttun to notify the program. either way it is now partly supported by his patch svn path=/trunk/; revision=27484
This commit is contained in:
parent
3f14a21b6f
commit
15355ab9a9
|
@ -967,6 +967,7 @@ IntSystemParametersInfo(
|
||||||
case SPI_SETMOUSEHOVERHEIGHT:
|
case SPI_SETMOUSEHOVERHEIGHT:
|
||||||
case SPI_SETMOUSE:
|
case SPI_SETMOUSE:
|
||||||
case SPI_SETMOUSESPEED:
|
case SPI_SETMOUSESPEED:
|
||||||
|
case SPI_SETMOUSEBUTTONSWAP:
|
||||||
/* We will change something, so set the flag here */
|
/* We will change something, so set the flag here */
|
||||||
bChanged = TRUE;
|
bChanged = TRUE;
|
||||||
case SPI_GETDESKWALLPAPER:
|
case SPI_GETDESKWALLPAPER:
|
||||||
|
@ -1081,6 +1082,10 @@ IntSystemParametersInfo(
|
||||||
CurInfo = IntGetSysCursorInfo(WinStaObject);
|
CurInfo = IntGetSysCursorInfo(WinStaObject);
|
||||||
CurInfo->MouseHoverHeight = uiParam;
|
CurInfo->MouseHoverHeight = uiParam;
|
||||||
break;
|
break;
|
||||||
|
case SPI_SETMOUSEBUTTONSWAP:
|
||||||
|
CurInfo = IntGetSysCursorInfo(WinStaObject);
|
||||||
|
CurInfo->SwapButtons = uiParam;
|
||||||
|
break;
|
||||||
case SPI_SETMOUSE:
|
case SPI_SETMOUSE:
|
||||||
CurInfo = IntGetSysCursorInfo(WinStaObject);
|
CurInfo = IntGetSysCursorInfo(WinStaObject);
|
||||||
CurInfo->CursorAccelerationInfo = *(PCURSORACCELERATION_INFO)pvParam;
|
CurInfo->CursorAccelerationInfo = *(PCURSORACCELERATION_INFO)pvParam;
|
||||||
|
|
Loading…
Reference in a new issue