[PATCH 2/2] dinput: Check foreground every 100ms instead of a callwndproc hook.