[SDL] X and SDL

ol olnet at free.fr
Wed Sep 4 05:06:01 PDT 2002

So, i'm new in SDL Programming ...

I try to get window attributes of SDL window like this ..

if(SDL_GetWMInfo(&info))  {
  Window window;
  Display *display;
  parent = info.info.x11.window;
  display = info.info.x11.display;
  XGetWindowAttributes(display, window,&pattr);

and the SDL Error is :

Fatal signal: Segmentation Fault (SDL Parachute Deployed) ....

the SIGSEV signal is sent when XGetWindowAttributes is called ...


More information about the SDL mailing list