Spurious error messages

Is there any way to prevent SDL from printing spurious messages ?

I get the following messages:

video memory unprotecting
video memory protecting

These come from the X libraries, and can’t be avoided.

You must be root to set a fullscreen mode

This is just an informational note, and can be removed from the library
source if you want.

Alternatively, you can redirect stderr to /dev/null, but that might be
overkill.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/