SDl 1.2: Keyboard LEDs

I know everyone if focused on SDL 1.3 but hopefully someone can
point me in the right direction for a 1.2 question.

Is there anyway to make the keyboard LEDs correctly follow the
KMOD_* state?

I have an SDL 1.2 app that needs user keyboard input. Everything
works fine but when my app first starts and does the SDL_Init()
all the keyboard LEDs are turned off. Pressing any of the "lock"
keys on the keyboard does correctly set the state but the LEDs
stay off.

When the app is not running the LEDs work correctly.