XRandR and full screen application

I’ve written a SDL application for linux, it runs in full screen mode, how can I
select which display to use in a dual head configuration and XRandR ?

Thank you.
Best Regards,
Simone Navari.