X Error Occured

I met a error like this when change resolution by using SDL_SetVideoMode.

X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 19 (X_DeleteProperty)
Atom id in failed request: 0x2a00003
Serial number of failed request: 89
Current serial number in output stream: 92

what this error mean?

Please give me some advice.

Thanks.

John wrote:

I met a error like this when change resolution by using SDL_SetVideoMode.

X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 19 (X_DeleteProperty)
Atom id in failed request: 0x2a00003
Serial number of failed request: 89
Current serial number in output stream: 92

what this error mean?

You’re probably drawing outside your window bounds. Check your
SDL_UpdateRects call.

Stephane