diff --git a/reactos/subsystems/win32/win32k/ntuser/misc.c b/reactos/subsystems/win32/win32k/ntuser/misc.c index 94e7576d1c1..df101ba951b 100644 --- a/reactos/subsystems/win32/win32k/ntuser/misc.c +++ b/reactos/subsystems/win32/win32k/ntuser/misc.c @@ -967,6 +967,7 @@ IntSystemParametersInfo( case SPI_SETMOUSEHOVERHEIGHT: case SPI_SETMOUSE: case SPI_SETMOUSESPEED: + case SPI_SETMOUSEBUTTONSWAP: /* We will change something, so set the flag here */ bChanged = TRUE; case SPI_GETDESKWALLPAPER: @@ -1081,6 +1082,10 @@ IntSystemParametersInfo( CurInfo = IntGetSysCursorInfo(WinStaObject); CurInfo->MouseHoverHeight = uiParam; break; + case SPI_SETMOUSEBUTTONSWAP: + CurInfo = IntGetSysCursorInfo(WinStaObject); + CurInfo->SwapButtons = uiParam; + break; case SPI_SETMOUSE: CurInfo = IntGetSysCursorInfo(WinStaObject); CurInfo->CursorAccelerationInfo = *(PCURSORACCELERATION_INFO)pvParam;